This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: ICE building compiler
- From: "Henderson, Stuart" <Stuart dot Henderson at analog dot com>
- To: "Henderson, Stuart" <Stuart dot Henderson at analog dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 1 Feb 2012 14:51:35 +0000
- Subject: RE: ICE building compiler
- References: <05E9E85E39C35B4D96ED3A3190E35A10ADA86EA704@LIMKCMBX1.ad.analog.com> <05E9E85E39C35B4D96ED3A3190E35A10AF0C28D21E@LIMKCMBX1.ad.analog.com>
>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 fix it
>by jumping to the "failed:" label.
any feedback on this?
Thanks,
Stu