powerpc testsuite regressions
Zack Weinberg
zack@codesourcery.com
Thu May 20 16:13:00 GMT 2004
Andrew Pinski <pinskia@physics.uc.edu> writes:
>> /tmp/ccSbclDE.o(.text+0x38): In function `foo':
>> : undefined reference to `bar'
>> collect2: ld returned 1 exit status
>> compiler exited with status 1
>
>
> I think I know what is going on and how to fix it.
>
> cgraph_mark_needed_node used to be called from mark_referenced which
> made the function be in the output queue. Now
> cgraph_mark_needed_node is not called when assembling the name
> (unlike most targets which call output_addr_const rs6000 does not).
>
> OK? Bootstrapped on powerpc-apple-darwin with no regressions.
That's the right short-term fix. Long term we want cgraph to know
everything that's happening up front.
zw
More information about the Gcc
mailing list