aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
deleted file mode 100644
index b04c7621b..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-pre-stats" } */
-typedef int type[2];
-int foo(type *a, int argc, int t)
-{
- type c = {0, 1};
- int d, e;
-
- /* Should be able to eliminate the second load of *a along the main path. */
- d = (*a)[t];
- if (argc)
- {
- a = &c;
- }
- e = (*a)[t];
- return d + e;
-}
-/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */
-/* { dg-final { cleanup-tree-dump "pre" } } */