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/34525] [4.3 Regression] ICE in extract_insn, at recog.c:1990 on hppa



------- Comment #3 from danglin at gcc dot gnu dot org  2007-12-20 01:42 -------
Fixed by change.

What are the reasons this was marked as a 4.3 regression?  I'm interested
when the regression occurred since the backend has never forced function
labels to memory in this code.

A simpler testcase is:

dave@gsyprf11:~/gcc_test$ less pr34525.c
extern void tramp_r ();
int is_trampoline_r (void* function)
{
  void *tramp_r_address = &tramp_r;

  if (!(((long)function & 3) == 2))
    return 0;

  return
   ((((long *) ((char*)function - 2))[0] == ((long *)
((char*)tramp_r_address-2)
)[0])
    && ((((long *) ((char*)function - 2))[2]) == (long)((char*)function - 2 +
16
))
    ? 1 : 0
   );
}


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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