------- 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: [EMAIL PROTECTED]:~/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