20030814-6.c: Fix testcase, disable FRE, remove XFAIL.
authorRichard Biener <rguenther@suse.de>
Tue, 5 Apr 2016 07:23:49 +0000 (07:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Apr 2016 07:23:49 +0000 (07:23 +0000)
2016-04-05  Richard Biener  <rguenther@suse.de>

* gcc.dg/tree-ssa/20030814-6.c: Fix testcase, disable FRE,
remove XFAIL.

From-SVN: r234737

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20030814-6.c

index ba398c2..4a701c4 100644 (file)
@@ -1,3 +1,8 @@
+2016-04-05  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/20030814-6.c: Fix testcase, disable FRE,
+       remove XFAIL.
+
 2016-04-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/70307
index e84c958..e4b8d43 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O1 -fdump-tree-dom2" } */
+/* { dg-options "-O1 -fno-tree-fre -fdump-tree-dom2" } */
 
 extern void abort (void);
 union tree_node;
@@ -15,6 +15,7 @@ struct tree_common
 };
 struct tree_type
 {
+  struct tree_common common;
   double alias_set;
 };
 union tree_node
@@ -39,6 +40,4 @@ foo (t, set)
 }
 /* There should be precisely one load of common.code.  If there is
    more than one, then the dominator optimizations failed.  */
-/* ??? Will fail until we properly distinguish member stores.  At
-   present the write to type.alias_set kills the previous load.  */
-/* { dg-final { scan-tree-dump-times "common.code" 1 "dom2" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "common.code" 1 "dom2" } } */