Commit cc05759d by Richard Biener Committed by Richard Biener

20030814-6.c: Fix testcase, disable FRE, remove XFAIL.

2016-04-05  Richard Biener  <rguenther@suse.de>

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

From-SVN: r234737
parent 7a7ac32a
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> 2016-04-04 Jakub Jelinek <jakub@redhat.com>
PR middle-end/70307 PR middle-end/70307
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-dom2" } */ /* { dg-options "-O1 -fno-tree-fre -fdump-tree-dom2" } */
extern void abort (void); extern void abort (void);
union tree_node; union tree_node;
...@@ -15,6 +15,7 @@ struct tree_common ...@@ -15,6 +15,7 @@ struct tree_common
}; };
struct tree_type struct tree_type
{ {
struct tree_common common;
double alias_set; double alias_set;
}; };
union tree_node union tree_node
...@@ -39,6 +40,4 @@ foo (t, set) ...@@ -39,6 +40,4 @@ foo (t, set)
} }
/* There should be precisely one load of common.code. If there is /* There should be precisely one load of common.code. If there is
more than one, then the dominator optimizations failed. */ more than one, then the dominator optimizations failed. */
/* ??? Will fail until we properly distinguish member stores. At /* { dg-final { scan-tree-dump-times "common.code" 1 "dom2" } } */
present the write to type.alias_set kills the previous load. */
/* { dg-final { scan-tree-dump-times "common.code" 1 "dom2" { xfail *-*-* } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment