This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Sep 2012 14:48:02 +0000
- Subject: [Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling
- Auto-submitted: auto-generated
- References: <bug-54472-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472
--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-04 14:48:02 UTC ---
For some reason, -fselective-scheduling is moving
(insn 19 16 22 2 (use (reg/i:SI 0 ax)) testcase.c:6 -1
(nil))
around. This insn marks function return, so IMO should be at the function exit
all the time. -fschedule-insns (without -fselective-scheduling) leaves the insn
at the function exit. Is it OK to move this marker around?