This is the mail archive of the
mailing list for the GCC project.
Re: powerpc testsuite regressions
Andrew Pinski <email@example.com> 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.