aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/method.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2fed9f4..0441695 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-09 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
+
+ PR bootstrap/12168
+ * method.c (use_thunk): Clear DECL_RTL of copied nodes.
+
2003-09-08 Mark Mitchell <mark@codesourcery.com>
* cp-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
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);