https://sourceware.org/bugzilla/show_bug.cgi?id=16746
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> ---
Hmm, but that breaks the case where the symbol is still referenced from the
linker plugin provided input
extern void foobar (void);
int
main (int argc, char **argv)
{
if (!__builtin_constant_p (argc))
foobar ();
return 0;
}
add void foobar () {} to t2.c to make the link succeed.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils