Fix previous commit.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Aug 2010 12:24:41 +0000 (12:24 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Aug 2010 12:24:41 +0000 (12:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163442 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/tree-ssa/empty-2.C

index 2036beb..01b77b4 100644 (file)
@@ -1,9 +1,13 @@
 // PR c++/45307
-// { dg-options "-fdump-tree-gimple -fdump-tree-optimized" }
+// { dg-options "-fdump-tree-gimple -fdump-tree-optimized -O" }
 
 struct fallible_t { };
 const fallible_t fallible = fallible_t();
 
+void t(void)
+{
+}
+
 // { dg-final { scan-tree-dump-not "fallible" "gimple" } }
 // Whole constructor should be optimized away.
 // { dg-final { scan-tree-dump-not "int" "optimized" } }