This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RFC] Patch PR 12168 (ICE in strstream.cc)
- From: Christian Ehrhardt <ehrhardt at mathematik dot uni-ulm dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 7 Sep 2003 16:33:27 +0200
- Subject: [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!