aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2016-04-05 07:23:49 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2016-04-05 07:23:49 +0000
commitcc05759d4c26822df221adb12ff6d8a4c28154a9 (patch)
tree8a0ddec3ea4a79e4fe77044e25cefb55fd5871e6 /gcc
parent7a7ac32ac65127c17183af776d771b8f8b072cf9 (diff)
downloadgcc-cc05759d4c26822df221adb12ff6d8a4c28154a9.zip
gcc-cc05759d4c26822df221adb12ff6d8a4c28154a9.tar.gz
gcc-cc05759d4c26822df221adb12ff6d8a4c28154a9.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/20030814-6.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ba398c2..4a701c4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20030814-6.c b/gcc/testsuite/gcc.dg/tree-ssa/20030814-6.c
index e84c958..e4b8d43 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/20030814-6.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/20030814-6.c
@@ -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" } } */