diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-07 21:06:28 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-07 21:06:28 +0000 |
commit | 1182c12e315db4061a931408b4a56fbc12ba252b (patch) | |
tree | 85dc230c70ec0a8d0a37e73ede8d2eac2c6481ee /gcc/cp/method.c | |
parent | b1707e0791aaeb856a0027630074b9dc6c6e426f (diff) | |
download | ppe42-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.c | 1 |
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); |