OSDN Git Service

* tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Feb 2006 12:36:26 +0000 (12:36 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Feb 2006 12:36:26 +0000 (12:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110513 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-inline.c

index d39dfc8..7c6288e 100644 (file)
@@ -1,5 +1,9 @@
 2006-02-02  Diego Novillo  <dnovillo@redhat.com>
 
+       * tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.
+
+2006-02-02  Diego Novillo  <dnovillo@redhat.com>
+
        PR 25990
        * tree-cfg.c (move_block_to_fn): Clear out the basic block
        array after growing it.
index 012ef68..99bc068 100644 (file)
@@ -2278,7 +2278,8 @@ copy_tree_r (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED)
   if (IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (code))
       || code == TREE_LIST
       || code == TREE_VEC
-      || code == TYPE_DECL)
+      || code == TYPE_DECL
+      || code == OMP_CLAUSE)
     {
       /* Because the chain gets clobbered when we make a copy, we save it
         here.  */