As discussed in the BZ, this bug was fixed long ago and we should re-enable DOM opts for this test.

Tested on cris-elf.  Installing on the trunk.

Jeff
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dce1278..6e53829 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-31  Jeff Law  <l...@redhat.com>
+
+       PR tree-optimization/49498
+       * gcc.dg/uninit-pred-8_b.c: Reenable DOM.
+
 2017-03-31  Richard Biener  <rguent...@suse.de>
  
        * gcc.dg/tree-ssa/pr71347.c: Put back XFAIL on sparc.
diff --git a/gcc/testsuite/gcc.dg/uninit-pred-8_b.c 
b/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
index c1cc1f0..06e2eba 100644
--- a/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
+++ b/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
@@ -1,6 +1,6 @@
 
 /* { dg-do compile } */
-/* { dg-options "-Wuninitialized -fno-tree-dominator-opts -O2" } */
+/* { dg-options "-Wuninitialized -O2" } */
 
 int g;
 void bar();

Reply via email to