aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorChristian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>2003-09-09 08:47:35 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-09-09 08:47:35 +0000
commit22898f9a4bd245ee59ee0135ab75a7628ed672dd (patch)
tree2cef1a6268f45ba1879bb683a8a89ea1b39e6bf0 /gcc/cp/method.c
parent860c4900e5d0a36fa6a5b81ced148a2e7cee7d95 (diff)
downloadgcc-22898f9a4bd245ee59ee0135ab75a7628ed672dd.zip
gcc-22898f9a4bd245ee59ee0135ab75a7628ed672dd.tar.gz
gcc-22898f9a4bd245ee59ee0135ab75a7628ed672dd.tar.bz2
re PR bootstrap/12168 (ICE (bus error) in set_mem_attributes_minus_bitpos)
PR bootstrap/12168 * method.c (use_thunk): Clear DECL_RTL of copied nodes. From-SVN: r71234
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 9069972..5277004 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -426,6 +426,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
tree x = copy_node (a);
TREE_CHAIN (x) = t;
DECL_CONTEXT (x) = thunk_fndecl;
+ SET_DECL_RTL (x, NULL_RTX);
t = x;
}
a = nreverse (t);