gcc/cp/
authorcesar <cesar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2015 16:31:04 +0000 (16:31 +0000)
committercesar <cesar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2015 16:31:04 +0000 (16:31 +0000)
* cp-gimplify.c (cp_fold_r): Add support for OACC_LOOP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230554 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c

index 267bd19..e9368d6 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-17  Cesar Philippidis  <cesar@codesourcery.com>
+
+       * cp-gimplify.c (cp_fold_r): Add support for OACC_LOOP.
+
 2015-11-17  Jason Merrill  <jason@redhat.com>
 
        PR bootstrap/68346
index 8fe9e13..99d0cfb 100644 (file)
@@ -933,7 +933,8 @@ cp_fold_r (tree *stmt_p, int *walk_subtrees, void *data)
 
   code = TREE_CODE (stmt);
   if (code == OMP_FOR || code == OMP_SIMD || code == OMP_DISTRIBUTE
-      || code == OMP_TASKLOOP || code == CILK_FOR || code == CILK_SIMD)
+      || code == OMP_TASKLOOP || code == CILK_FOR || code == CILK_SIMD
+      || code == OACC_LOOP)
     {
       tree x;
       int i, n;