[Bug target/41240] [4.5 regression] ICE: in get_attr_got, at config/mips/mips.md:455 building stage1 N64 libgcc
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 11:25:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list