]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix previous commit.
authorJan Hubicka <hubicka@gcc.gnu.org>
Sat, 21 Aug 2010 12:24:41 +0000 (12:24 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 21 Aug 2010 12:24:41 +0000 (12:24 +0000)
From-SVN: r163442

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

index 2036bebe3046b36be844efc95bbce64344dcaaff..01b77b4fb2c4ca5de5567a9f958aa4f462cff4ce 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" } }