===================================================================
@@ -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" } } */