From 173dfdf5d7a1b9ad56bd39214813700ce5ba1e55 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 27 Oct 2015 20:22:50 +0000 Subject: [PATCH] * omp-low.c (pass_oacc_device_lower::execute): Ignore errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229462 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/omp-low.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19a6809..198d534 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,8 @@ 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. * internal-fn.h (enum ifn_unique_kind): New. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index ad7c017..8262fa3 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.7.4