|
From: | rguenth at gcc dot gnu.org |
Subject: | [Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs |
Date: | Mon, 24 Mar 2014 13:59:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> --- (In reply to Richard Guenther from comment #2) > 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. Which of course may simply mean that the path through lang_add_input_file misses to emit warnings at all. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |