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:
Richard Guenther 2010-07-24 16:58:19 +00:00 committed by Richard Biener
parent 2091f81165
commit 0128991dbf
2 changed files with 12 additions and 0 deletions

View File

@ -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

View 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(); }