This is the mail archive of the gcc-bugs@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]

Re: EGCS-19990314, undefined local symbol with a __label__


>>>>> "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


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