https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |WORKSFORME
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
--- Comment #9 from Andrey Vihrov ---
Thanks, I agree this can be closed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #8 from Jonathan W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
Jonathan Wakely changed:
What|Removed |Added
Keywords||documentation
Status|UNCON
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
--- Comment #6 from Andrey Vihrov ---
Thanks for your reply. You have a point: using -fwhole-program introduces more
effects than needed, as evidenced by this bug report, so an anonymous namespace
is safer and cleaner.
In any case, in this bug r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
--- Comment #5 from Jonathan Wakely ---
(In reply to Andrey Vihrov from comment #2)
> , and there is no warning without -fwhole-program. Of course, I can get the
> same effect by making everything "static", but this depends on me
> remembering to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
Richard Biener changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
--- Comment #3 from Andrey Vihrov ---
I compiled the example program without and with -fwhole-program to assembly
code, and here are the differences: http://pastie.org/9859649
As I understand, normally the ".weak" directive ensures that there is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
--- Comment #2 from Andrey Vihrov ---
Thanks for a fast reply!
My use case for these two (amongst several others) options together is
competitive programming, in which a contestant is required a write a
one-source-file solution, test it locally
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504
--- Comment #1 from Jonathan Wakely ---
(In reply to Andrey Vihrov from comment #0)
> -fwhole-program is that it can be used with one source file that includes
> standard library headers and links with the standard library. If this is
> wrong, th
10 matches
Mail list logo