diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2006-09-07 17:06:28 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2006-09-07 17:06:28 -0400 |
commit | dbb87a8ade99d5a316b5091cd866dc6c66e26f53 (patch) | |
tree | 85dc230c70ec0a8d0a37e73ede8d2eac2c6481ee /gcc/cp/method.c | |
parent | 94fbfc650b2837bd3f24e786fbe88ad9d73e216c (diff) | |
download | gcc-dbb87a8ade99d5a316b5091cd866dc6c66e26f53.zip gcc-dbb87a8ade99d5a316b5091cd866dc6c66e26f53.tar.gz gcc-dbb87a8ade99d5a316b5091cd866dc6c66e26f53.tar.bz2 |
re PR c++/26957 (ICE in make_decl_rtl, at varasm.c:871)
PR c++/26957
* method.c (use_thunk): Clear DECL_HAS_VALUE_EXPR_P on copied
parms.
From-SVN: r116760
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 312e3a9..e2106ff 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); |