public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54029] New: SH: Fix ICE in find_dead_or_set_registers
@ 2012-07-19 11:15 chrbr at gcc dot gnu.org
2012-07-19 11:56 ` [Bug target/54029] SH: " chrbr at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: chrbr at gcc dot gnu.org @ 2012-07-19 11:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029
Bug #: 54029
Summary: SH: Fix ICE in find_dead_or_set_registers
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: chrbr@gcc.gnu.org
Created attachment 27831
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27831
preprocessed file. Compiles with -O2
This is a SH regression on the 4.7 and trunk while building Webkit
(pre-processed file size is about 2.2Mb
A far branch to a return rtx produces an ICE in
find_dead_or_set_registers at line resource.c:497:
next = JUMP_LABEL (this_jump_insn);
if (ANY_RETURN_P (next)) <- next is null
next = NULL_RTX;
Turns out that JUMP_LABEL was not set after gen_return in
sh.c:gen_far_branch.
Reproduce with a sh4-linux-g++ or sh-superh-elf-g++ 4.7.1 and above
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/54029] SH: ICE in find_dead_or_set_registers
2012-07-19 11:15 [Bug target/54029] New: SH: Fix ICE in find_dead_or_set_registers chrbr at gcc dot gnu.org
@ 2012-07-19 11:56 ` chrbr at gcc dot gnu.org
2012-07-19 13:47 ` chrbr at gcc dot gnu.org
2012-07-20 10:00 ` chrbr at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: chrbr at gcc dot gnu.org @ 2012-07-19 11:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029
--- Comment #1 from chrbr at gcc dot gnu.org 2012-07-19 11:56:14 UTC ---
Author: chrbr
Date: Thu Jul 19 11:56:09 2012
New Revision: 189652
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189652
Log:
PR target/54029
* config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/54029] SH: ICE in find_dead_or_set_registers
2012-07-19 11:15 [Bug target/54029] New: SH: Fix ICE in find_dead_or_set_registers chrbr at gcc dot gnu.org
2012-07-19 11:56 ` [Bug target/54029] SH: " chrbr at gcc dot gnu.org
@ 2012-07-19 13:47 ` chrbr at gcc dot gnu.org
2012-07-20 10:00 ` chrbr at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: chrbr at gcc dot gnu.org @ 2012-07-19 13:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029
--- Comment #2 from chrbr at gcc dot gnu.org 2012-07-19 13:46:51 UTC ---
Author: chrbr
Date: Thu Jul 19 13:46:46 2012
New Revision: 189657
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189657
Log:
PR target/54029
* config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/sh/sh.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/54029] SH: ICE in find_dead_or_set_registers
2012-07-19 11:15 [Bug target/54029] New: SH: Fix ICE in find_dead_or_set_registers chrbr at gcc dot gnu.org
2012-07-19 11:56 ` [Bug target/54029] SH: " chrbr at gcc dot gnu.org
2012-07-19 13:47 ` chrbr at gcc dot gnu.org
@ 2012-07-20 10:00 ` chrbr at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: chrbr at gcc dot gnu.org @ 2012-07-20 10:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029
chrbr at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from chrbr at gcc dot gnu.org 2012-07-20 10:00:17 UTC ---
fixed in 4.7 and trunk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-20 10:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 11:15 [Bug target/54029] New: SH: Fix ICE in find_dead_or_set_registers chrbr at gcc dot gnu.org
2012-07-19 11:56 ` [Bug target/54029] SH: " chrbr at gcc dot gnu.org
2012-07-19 13:47 ` chrbr at gcc dot gnu.org
2012-07-20 10:00 ` chrbr at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).