[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

abel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 4 17:47:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472

--- Comment #3 from Andrey Belevantsev <abel at gcc dot gnu.org> 2012-09-04 17:47:24 UTC ---
(In reply to comment #2)
> 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?

I will take a look but I'm out of office until Friday at least (maybe Monday).



More information about the Gcc-bugs mailing list