re PR bootstrap/12168 (ICE (bus error) in set_mem_attributes_minus_bitpos)
authorChristian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
Tue, 9 Sep 2003 08:47:35 +0000 (08:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 9 Sep 2003 08:47:35 +0000 (08:47 +0000)
PR bootstrap/12168
* method.c (use_thunk): Clear DECL_RTL of copied nodes.

From-SVN: r71234

gcc/cp/ChangeLog
gcc/cp/method.c

index 2fed9f4b99d7baf55799d101a6373263237c6427..044169564933f892dc1d6973dc6a05bb26bbe6e1 100644 (file)
@@ -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
index 906997254ad242888b58b76fd2044bebeb35556f..52770042bee66cdf7764069eb59966abe49cc50b 100644 (file)
@@ -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);