From adc2b4d79c153b3036ba7e87f578e9bfea919482 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 27 Oct 2015 20:22:50 +0000 Subject: [PATCH] * omp-low.c (pass_oacc_device_lower::execute): Ignore errors. From-SVN: r229462 --- gcc/ChangeLog | 4 ++++ gcc/omp-low.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19a6809e8d4..198d5342fff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-27 Nathan Sidwell + + * omp-low.c (pass_oacc_device_lower::execute): Ignore errors. + 2015-10-27 Nathan Sidwell * internal-fn.c (expand_UNIQUE): New. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index ad7c017affb..8262fa3bbbd 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -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; -- 2.30.2