This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Patch PR 12168 (ICE in strstream.cc)


Hi,

current mainline c++ doesn't bootstrap on sparc and reportedly on
mips-sgi-irix. This is a regression introduced late in august.
The following patch seems to fix this but it definitly needs someone
more knowlegable to review.

Index: method.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/cp/method.c,v
retrieving revision 1.266
diff -u -r1.266 method.c
--- method.c    15 Aug 2003 08:55:48 -0000      1.266
+++ method.c    7 Sep 2003 14:17:37 -0000
@@ -426,6 +426,7 @@
          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);

   regards  Christian

-- 
THAT'S ALL FOLKS!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]