Jan,

This patch is causing a bootstrap failure on AIX.  It generates linker
errors that TOC symbols are not emitted:

ld: 0711-317 ERROR: Undefined symbol: LC..0
ld: 0711-317 ERROR: Undefined symbol: LC..1
ld: 0711-317 ERROR: Undefined symbol: LC..2
ld: 0711-317 ERROR: Undefined symbol: LC..3
ld: 0711-317 ERROR: Undefined symbol: LC..4

Although pLinux uses the same code, GCC is able to bootstrap on Linux.
 The function in question is

gcc/config/rs6000/rs6000.c:output_toc()

Do you have any suggestions on what is missing in the label allocation
that causes your cgraph change to believe the symbols are
unreferenced?

I have opened PR bootstrap/53300.

Thanks, David

Reply via email to