tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.
authorDiego Novillo <dnovillo@redhat.com>
Thu, 2 Feb 2006 12:36:26 +0000 (12:36 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 2 Feb 2006 12:36:26 +0000 (07:36 -0500)
* tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.

From-SVN: r110513

gcc/ChangeLog
gcc/tree-inline.c

index d39dfc8f4fa6849018fac730ccfee1902f76d2cf..7c6288e81042bbd47893deb7997d6d8d13d8e719 100644 (file)
@@ -1,3 +1,7 @@
+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
index 012ef6836f0ec50cfa75c1faabc0c712d3a0c6a0..99bc068ebef5f10696ec6aff2a009f3152d3db54 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.  */