From 55d97af6b3edb27a7158cacef3149e71c81d7b4c Mon Sep 17 00:00:00 2001 From: dnovillo Date: Thu, 2 Feb 2006 12:36:26 +0000 Subject: [PATCH] * tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110513 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/tree-inline.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d39dfc8f4fa6..7c6288e81042 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-02-02 Diego Novillo + + * tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes. + 2006-02-02 Diego Novillo PR 25990 diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 012ef6836f0e..99bc068ebef5 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. */ -- 2.47.3