This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: EGCS-19990314, undefined local symbol with a __label__
- To: richard dot earnshaw at arm dot com
- Subject: Re: EGCS-19990314, undefined local symbol with a __label__
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 22 Mar 1999 07:41:59 -0800
- CC: gilbertd at treblig dot org, egcs-bugs at egcs dot cygnus dot com, philb at gnu dot org, rmk at arm dot uk dot linux dot org, richard dot earnshaw at arm dot com, rth at cygnus dot com
- References: <199903221100.LAA03186@sun52.NIS.cambridge>
- Reply-to: mark at codesourcery dot com
>>>>> "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.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com