This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34525] [4.3 Regression] ICE in extract_insn, at recog.c:1990 on hppa
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2007 01:42:55 -0000
- Subject: [Bug target/34525] [4.3 Regression] ICE in extract_insn, at recog.c:1990 on hppa
- References: <bug-34525-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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