re PR lto/63603 (Linking with -fno-lto still invokes LTO)

2014-10-22  Richard Biener  <rguenther@suse.de>
            Tobias Burnus <burnus@net-b.de>

        PR lto/63603
        * gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r216566
This commit is contained in:
Richard Biener 2014-10-22 20:51:00 +00:00 committed by Tobias Burnus
parent 693b297b72
commit d8857ac603
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2014-10-22 Richard Biener <rguenther@suse.de>
Tobias Burnus <burnus@net-b.de>
PR lto/63603
* gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}.
2014-10-22 Dehao Chen <dehao@google.com>
* auto-profile.c: Change order of header files.

View file

@ -819,7 +819,7 @@ proper position among the other output files. */
%(linker) " \
LINK_PLUGIN_SPEC \
"%{flto|flto=*:%<fcompare-debug*} \
%{flto} %{flto=*} %l " LINK_PIE_SPEC \
%{flto} %{fno-lto} %{flto=*} %l " LINK_PIE_SPEC \
"%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
"%X %{o*} %{e*} %{N} %{n} %{r}\
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} " VTABLE_VERIFICATION_SPEC " \