ICE building compiler
Henderson, Stuart
Stuart.Henderson@analog.com
Fri Jan 27 10:52:00 GMT 2012
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
More information about the Gcc
mailing list