EGCS-19990314, undefined local symbol with a __label__

Richard Earnshaw rearnsha@arm.com
Wed Mar 31 23:54:00 GMT 1999


> >>>>> "Richard" == Richard Earnshaw <rearnsha@arm.com> writes:
> 
>     Richard> Thanks for the bug report.  I've also reproduced it on
>     Richard> the arm-aout port.  A quick look shows that the label
>     Richard> gets lost somewhere between the end of the global
>     Richard> register allocation pass and the end of the sched2 pass.
>     Richard> I guess this means the flow graph is incomplete in some
>     Richard> respect (my guess is that it doesn't follow the label
>     Richard> reference use via the constant pool).
> 
> I think I fixed this problem with this patch:
> 
>   Mon Mar 15 10:20:20 1999  Mark Mitchell  <mark@markmitchell.com>
> 
> 	* reload.c (find_reloads): Add a REG_LABEL note if we substitute a
> 	LABEL_REF for something else.
> 
> You might want to try the current CVS version and see what happens.

Nope,  I have that patch in my buid.  It's still looses the note.  Note 
that it seems to be combine that is losing the REG_LABEL note.




More information about the Gcc-bugs mailing list