This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40587] [4.4/4.5 Regression] Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827
- From: "vmakarov at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2009 21:30:08 -0000
- Subject: [Bug target/40587] [4.4/4.5 Regression] Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827
- References: <bug-40587-17886@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from vmakarov at redhat dot com 2009-07-03 21:30 -------
The problem was in usage of df_get_live_out in ira.c::build_insn_chain instead
of DF_LR_OUT. Later contains r58 (assigned to st0 register) and it creates
restore insn for st0 after the call and prevents reg-stack crashing.
The original IRA patch used DF_LR_OUT. After removing the old RA, accidentally
IRA started to use df_get_live_out used by the old RA.
I'll send a patch solving the problem soon.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40587