* omp-low.c (pass_oacc_device_lower::execute): Ignore errors.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Oct 2015 20:22:50 +0000 (20:22 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Oct 2015 20:22:50 +0000 (20:22 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229462 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/omp-low.c

index 19a6809..198d534 100644 (file)
@@ -1,4 +1,8 @@
 2015-10-27  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * omp-low.c (pass_oacc_device_lower::execute): Ignore errors.
+
+2015-10-27  Nathan Sidwell  <nathan@codesourcery.com>
        
        * internal-fn.c (expand_UNIQUE): New.
        * internal-fn.h (enum ifn_unique_kind): New.
index ad7c017..8262fa3 100644 (file)
@@ -17637,7 +17637,7 @@ public:
   /* opt_pass methods: */
   virtual unsigned int execute (function *)
     {
-      bool gate = (flag_openacc != 0 && !seen_error ());
+      bool gate = flag_openacc != 0;
 
       if (!gate)
        return 0;