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
This commit is contained in:
parent
bebb1f2034
commit
aff08b126b
|
@ -1,3 +1,9 @@
|
||||||
|
2010-07-23 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR lto/43071
|
||||||
|
* gcc.c (LINK_COMMAND_SPEC): Filter out -fcompare-debug
|
||||||
|
for -flto and -fwhopr.
|
||||||
|
|
||||||
2010-07-23 Kai Tietz <kai.tietz@onevision.com>
|
2010-07-23 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
PR target/41943
|
PR target/41943
|
||||||
|
|
|
@ -752,6 +752,7 @@ proper position among the other output files. */
|
||||||
%{static|static-libgcc:-plugin-opt=-pass-through=%(lto_libgcc)} \
|
%{static|static-libgcc:-plugin-opt=-pass-through=%(lto_libgcc)} \
|
||||||
%{static:-plugin-opt=-pass-through=-lc} \
|
%{static:-plugin-opt=-pass-through=-lc} \
|
||||||
} \
|
} \
|
||||||
|
%{flto:%<fcompare-debug*} %{fwhopr*:%<fcompare-debug*} \
|
||||||
%{flto} %{fwhopr*} %l " LINK_PIE_SPEC \
|
%{flto} %{fwhopr*} %l " LINK_PIE_SPEC \
|
||||||
"%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\
|
"%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\
|
||||||
%{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
|
%{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2010-07-23 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR lto/43071
|
||||||
|
* g++.dg/lto/20100723-1_0.C: New testcase.
|
||||||
|
|
||||||
2010-07-23 H.J. Lu <hongjiu.lu@intel.com>
|
2010-07-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* gcc.target/i386/aes-avx-check.h (main): Require OSXSAVE for
|
* gcc.target/i386/aes-avx-check.h (main): Require OSXSAVE for
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
/* { dg-lto-do link } */
|
||||||
|
/* { dg-lto-options {{-fcompare-debug -flto} {-fcompare-debug -fwhopr}} } */
|
||||||
|
|
||||||
|
struct S {
|
||||||
|
virtual void f() { }
|
||||||
|
};
|
||||||
|
|
||||||
|
int main(int, char *[])
|
||||||
|
{
|
||||||
|
S s;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue