* omp-low.c (pass_oacc_device_lower::execute): Ignore errors.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 27 Oct 2015 20:22:50 +0000 (20:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 27 Oct 2015 20:22:50 +0000 (20:22 +0000)
From-SVN: r229462

gcc/ChangeLog
gcc/omp-low.c

index 19a6809e8d49a789ce34cc27a9adda21a0e59104..198d5342fff38d946c01b3c9c905f6239cdc7424 100644 (file)
@@ -1,3 +1,7 @@
+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.
index ad7c017affbb51d65f44c642fd129ea79c14afa6..8262fa3bbbddee578aca11477e2fa966c253a1eb 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;