This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ICE building compiler


Hi,
Whilst investigating an ICE with the Blackfin compiler, I bumped in to a bit of code which seems questionable:

in reload1.c:reload() we call select_reload_regs() and then check if failure was set.  However, looking at find_reload_regs() (called via select_reload_regs()), the only time we set failure is immediately after a call to spill_failure() which doesn't return.  Is spill_failure the correct function to be using here?  It seems like the intention of the code was to note the spill_failure and then try and then try and fix it by jumping to the "failed:" label.

Cheers,
Stu

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]