diff mbox

[gomp4] Restore GIMPLE_OACC_PARALLEL functionality (was: r205231 - in /branches/gomp-4_0-branch: ./ Chan...)

Message ID 87txepq6l0.fsf@kepler.schwinge.homeip.net
State New
Headers show

Commit Message

Thomas Schwinge Dec. 4, 2013, 10 a.m. UTC
Hi!

On Thu, 21 Nov 2013 20:20:45 -0000, jakub@gcc.gnu.org wrote:
> Author: jakub
> Date: Thu Nov 21 20:20:44 2013
> New Revision: 205231
> 
> URL: http://gcc.gnu.org/viewcvs?rev=205231&root=gcc&view=rev
> Log:
> svn merge -r204964:205223 svn+ssh://gcc.gnu.org/svn/gcc/trunk

Jakub, many thanks for handling the vast majority of the merge changes!
I only had to fix one additional case, r205658:

	gcc/
	* gimple.h (is_a_helper): Handle GIMPLE_OACC_PARALLEL.



Grüße,
 Thomas
diff mbox

Patch

--- gcc/gimple.h
+++ gcc/gimple.h
@@ -969,7 +969,8 @@  template <>
 inline bool
 is_a_helper <const gimple_statement_omp_parallel>::test (const_gimple gs)
 {
-  return gs->code == GIMPLE_OMP_PARALLEL || gs->code == GIMPLE_OMP_TASK || gs->code == GIMPLE_OMP_TARGET;
+  return gs->code == GIMPLE_OMP_PARALLEL || gs->code == GIMPLE_OMP_TASK
+	 || gs->code == GIMPLE_OMP_TARGET || gs->code == GIMPLE_OACC_PARALLEL;
 }
 
 template <>