aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-07-23 19:30:37 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-07-23 19:30:37 +0000
commitaff08b126b009b28739e609f161e598de4caa44a (patch)
tree73ead45881757d95acc7524e8fff52b796d0f9b1 /gcc/gcc.c
parentbebb1f203463eaff5b988e04461d7c63a89f185f (diff)
downloadgcc-aff08b126b009b28739e609f161e598de4caa44a.zip
gcc-aff08b126b009b28739e609f161e598de4caa44a.tar.gz
gcc-aff08b126b009b28739e609f161e598de4caa44a.tar.bz2
re PR lto/43071 (ICE: SIGSEGV with -fwhopr -fcompare-debug)
2010-07-23 Richard Guenther <rguenther@suse.de> PR lto/43071 * gcc.c (LINK_COMMAND_SPEC): Filter out -fcompare-debug for -flto and -fwhopr. * g++.dg/lto/20100723-1_0.C: New testcase. From-SVN: r162481
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 6a0dae5..efaf813 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -752,6 +752,7 @@ proper position among the other output files. */
%{static|static-libgcc:-plugin-opt=-pass-through=%(lto_libgcc)} \
%{static:-plugin-opt=-pass-through=-lc} \
} \
+ %{flto:%<fcompare-debug*} %{fwhopr*:%<fcompare-debug*} \
%{flto} %{fwhopr*} %l " LINK_PIE_SPEC \
"%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\
%{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\