------- Comment #3 from tbm at cyrius dot com 2006-05-18 13:53 ------- (In reply to comment #2) > Index: alpha.c > =================================================================== > --- alpha.c (revision 113736) > +++ alpha.c (working copy) > @@ -7410,6 +7410,7 @@ alpha_does_function_need_gp (void) > > for (; insn; insn = NEXT_INSN (insn)) > if (INSN_P (insn) > + && ! JUMP_TABLE_DATA_P (insn) > && GET_CODE (PATTERN (insn)) != USE > && GET_CODE (PATTERN (insn)) != CLOBBER > && get_attr_usegp (insn)) > > ?
I can confirm that the test case can be compiled correctly with this patch applied. Can you do a regression test (or whatever is needed) please and apply this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27571