summaryrefslogtreecommitdiffstats
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-07 21:06:28 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-07 21:06:28 +0000
commit1182c12e315db4061a931408b4a56fbc12ba252b (patch)
tree85dc230c70ec0a8d0a37e73ede8d2eac2c6481ee /gcc/cp/method.c
parentb1707e0791aaeb856a0027630074b9dc6c6e426f (diff)
downloadppe42-gcc-1182c12e315db4061a931408b4a56fbc12ba252b.tar.gz
ppe42-gcc-1182c12e315db4061a931408b4a56fbc12ba252b.zip
PR c++/26957
* method.c (use_thunk): Clear DECL_HAS_VALUE_EXPR_P on copied parms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116760 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 312e3a9c04a..e2106fff55c 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -419,6 +419,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
TREE_CHAIN (x) = t;
DECL_CONTEXT (x) = thunk_fndecl;
SET_DECL_RTL (x, NULL_RTX);
+ DECL_HAS_VALUE_EXPR_P (x) = 0;
t = x;
}
a = nreverse (t);
OpenPOWER on IntegriCloud