Bug 41591 - documentation should document interaction of -flto and -fwhole-program
Summary: documentation should document interaction of -flto and -fwhole-program
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: lto (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2009-10-05 14:31 UTC by Andi Kleen
Modified: 2009-12-11 16:56 UTC (History)
2 users (show)

See Also:
Host: x86_64-linux
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2009-10-05 14:37:56


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andi Kleen 2009-10-05 14:31:28 UTC
e.g. when -fwhole-program should be specified, at compile or at line time
and that it applies to the object files

I figured it out using the source and #gcc, but it would be better in
the texinfo file.
Comment 1 Richard Biener 2009-10-05 14:37:56 UTC
Confirmed.
Comment 2 Tobias Burnus 2009-10-05 17:50:51 UTC
Draft patch at http://gcc.gnu.org/ml/gcc-patches/2009-10/msg00300.html,
has room for improvements.
Comment 3 Tobias Burnus 2009-10-06 10:38:27 UTC
Subject: Bug 41591

Author: burnus
Date: Tue Oct  6 10:38:12 2009
New Revision: 152490

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152490
Log:
2009-10-06  Tobias Burnus  <burnus@net-b.de>

       PR lto/41591
       * doc/invoke.texi (-flto,-fwhole-program): Make clear that the
       -flto and -fwhole-program flags can be combined.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi

Comment 4 Tobias Burnus 2009-10-06 11:39:40 UTC
Andi, is the current wording sufficient or is something missing/unclear?

http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1=152490&r2=152489&pathrev=152490
Comment 5 Richard Biener 2009-12-11 16:56:18 UTC
Fixed.