summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-14 15:53:47 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-14 15:53:47 +0000
commit60830e2881dbd4cd29cdc49b77dadcc50179c402 (patch)
treea329420c92f91d3309ded9a79854c08553841dcf /gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c
parent05a2ccca57257176fd3618f6c9b6cbf3c8151add (diff)
downloadgcc-60830e2881dbd4cd29cdc49b77dadcc50179c402.tar.gz
2008-12-14 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r142748 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@142749 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c
index cfbb9c97b16..a27f2d6c023 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-10.c
@@ -4,6 +4,8 @@
union loc { unsigned reg; signed offset; };
void __frame_state_for (volatile char *state_in, int x)
{
+ /* We should move all the loads out of this loop. Right now, we only
+ move one. It takes two insertions because we insert a cast. */
union loc fs;
int reg;
for (;;) {
@@ -16,5 +18,5 @@ void __frame_state_for (volatile char *state_in, int x)
}
}
-/* { dg-final { scan-tree-dump-not "Insertions:" "pre" } } */
+/* { dg-final { scan-tree-dump "Insertions: 2" "pre" } } */
/* { dg-final { cleanup-tree-dump "pre" } } */