tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.

* tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.

From-SVN: r110513
This commit is contained in:
Diego Novillo 2006-02-02 12:36:26 +00:00 committed by Diego Novillo
parent 0170cfa2cf
commit 8843c120f1
2 changed files with 6 additions and 1 deletions

View 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

View 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. */