This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12168] [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2003 16:16:21 -0000
- Subject: [Bug c++/12168] [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos
- References: <20030904140945.12168.ehrhardt@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12168
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2003-09-04 16:16 -------
Hi,
this is only a wild guess, but might the following patch help?
It apparently fixes the ICE but bootstrap is still in progress.
Index: method.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/cp/method.c,v
retrieving revision 1.266
diff -C5 -u -r1.266 method.c
cvs server: conflicting specifications of output style
--- method.c 15 Aug 2003 08:55:48 -0000 1.266
+++ method.c 4 Sep 2003 16:13:01 -0000
@@ -424,10 +424,11 @@
for (a = DECL_ARGUMENTS (function); a; a = TREE_CHAIN (a))
{
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);
DECL_ARGUMENTS (thunk_fndecl) = a;
DECL_RESULT (thunk_fndecl) = NULL_TREE;
regards Christian