This is the mail archive of the gcc-bugs@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]

[Bug c++/12168] [3.4 regression] ICE (bus error) in set_mem_attributes_minus_bitpos


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


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