diff options
author | Richard Guenther <rguenther@suse.de> | 2010-07-23 19:30:37 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-07-23 19:30:37 +0000 |
commit | aff08b126b009b28739e609f161e598de4caa44a (patch) | |
tree | 73ead45881757d95acc7524e8fff52b796d0f9b1 /gcc/gcc.c | |
parent | bebb1f203463eaff5b988e04461d7c63a89f185f (diff) | |
download | gcc-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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}}}\ |