[Bug c/48649] cannot find space to spill in GENERAL REGISTERS

vasco at icpnet dot pl gcc-bugzilla@gcc.gnu.org
Sun Apr 17 12:29:00 GMT 2011


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

--- Comment #3 from Popielewicz <vasco at icpnet dot pl> 2011-04-17 12:28:52 UTC ---
Created attachment 24021
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24021
error messages when an extra patch applied

After applying the following patch in sreal.h

#ifndef COHERENT
#define SREAL_MAX_EXP (INT_MAX /4)
#endif

#ifdef COHERENT
#define coh_int_max 0x7f000000
#define SREAL_MAX_EXP (coh_int_max/4)
#endif

the error now occurs in cfgrtl.c 
Notice , that optimization is turned on.Without optimization , as before one
observes "spill" messages.

BTW , the similar patch as above but for gcc-4.2.2 moves the error to reload1.c
at line 19xx, which is similar to some known bug in the past.It was mentioned
there that this bug was fixed in 4.3.4 and above, but probably (?) not quite.



More information about the Gcc-bugs mailing list