re PR lto/43788 (ICE: verify_stmts failed: statement marked for throw, but doesn't)
2010-07-24 Richard Guenther <rguenther@suse.de> PR lto/43788 * g++.dg/lto/20100724-1_0.C: New testcase. From-SVN: r162502
This commit is contained in:
parent
2091f81165
commit
0128991dbf
@ -1,3 +1,8 @@
|
||||
2010-07-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/43788
|
||||
* g++.dg/lto/20100724-1_0.C: New testcase.
|
||||
|
||||
2010-07-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/43212
|
||||
|
7
gcc/testsuite/g++.dg/lto/20100724-1_0.C
Normal file
7
gcc/testsuite/g++.dg/lto/20100724-1_0.C
Normal file
@ -0,0 +1,7 @@
|
||||
/* { dg-lto-do link } */
|
||||
/* { dg-lto-options {{-ftoplevel-reorder -flto} {-ftoplevel-reorder -fwhopr}} } */
|
||||
/* { dg-extra-ld-options {-r -nostdlib} } */
|
||||
|
||||
struct Foo { virtual ~Foo(); };
|
||||
struct Bar:public Foo { Bar() { } };
|
||||
void Func() { new Bar(); }
|
Loading…
Reference in New Issue
Block a user