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 target/41240] [4.5 regression] ICE: in get_attr_got, at config/mips/mips.md:455 building stage1 N64 libgcc



------- Comment #2 from ubizjak at gmail dot com  2009-09-03 11:24 -------
FYI, similar failure happens on alpha, fixed by:

Index: config/alpha/alpha.c
===================================================================
--- config/alpha/alpha.c        (revision 151367)
+++ config/alpha/alpha.c        (working copy)
@@ -7664,7 +7664,7 @@ alpha_does_function_need_gp (void)
   pop_topmost_sequence ();

   for (; insn; insn = NEXT_INSN (insn))
-    if (INSN_P (insn)
+    if (NONDEBUG_INSN_P (insn)
        && ! JUMP_TABLE_DATA_P (insn)
        && GET_CODE (PATTERN (insn)) != USE
        && GET_CODE (PATTERN (insn)) != CLOBBER


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41240


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