[Bug rtl-optimization/18420] [4.0 Regression] ICE compiling mesa at -O2

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 11 01:49:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-11 01:49 -------
The problem is that the register is r30 (which is the FRAME_POINTER_REGNUM) and reload is not 
complete at this point, maybe this is not the correct check.

((reload_completed && !frame_pointer_needed)
	  || (REGNO (op) != FRAME_POINTER_REGNUM
#if HARD_FRAME_POINTER_REGNUM != FRAME_POINTER_REGNUM
	      && REGNO (op) != HARD_FRAME_POINTER_REGNUM
#endif
	     ))

-- 


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



More information about the Gcc-bugs mailing list