aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-10-22 20:51:00 +0000
committerTobias Burnus <burnus@gcc.gnu.org>2014-10-22 22:51:00 +0200
commitd8857ac60365290666669f19e06226b4f5a40d88 (patch)
tree3db3c24df076a173edfd26549859370107bb6bfe
parent693b297b72309b6db6898a334c24b777c0c69831 (diff)
downloadgcc-d8857ac60365290666669f19e06226b4f5a40d88.zip
gcc-d8857ac60365290666669f19e06226b4f5a40d88.tar.gz
gcc-d8857ac60365290666669f19e06226b4f5a40d88.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gcc.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9319763..5bc8b64 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 71c76f8..e013d52 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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 " \