diff options
author | Diego Novillo <dnovillo@redhat.com> | 2006-02-02 12:36:26 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2006-02-02 07:36:26 -0500 |
commit | 8843c120f1f0a562b0250c59ec66317feae2fb0c (patch) | |
tree | 721df737a425ec554d0b584532bf04f00add95fd /gcc/tree-inline.c | |
parent | 0170cfa2cfb8a7fce07dd622285ccda78d769372 (diff) | |
download | gcc-8843c120f1f0a562b0250c59ec66317feae2fb0c.zip gcc-8843c120f1f0a562b0250c59ec66317feae2fb0c.tar.gz gcc-8843c120f1f0a562b0250c59ec66317feae2fb0c.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 012ef68..99bc068 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -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. */ |