aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020323-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/20020323-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20020323-1.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20020323-1.c b/gcc/testsuite/gcc.c-torture/compile/20020323-1.c
deleted file mode 100644
index ed3c66651d9..00000000000
--- a/gcc/testsuite/gcc.c-torture/compile/20020323-1.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* This testcase caused ICE on powerpc at -O3, because regrename did
- not handle match_dup of match_operator if the RTLs were not shared. */
-
-struct A
-{
- unsigned char *a0, *a1;
- int a2;
-};
-
-void bar (struct A *);
-
-unsigned int
-foo (int x)
-{
- struct A a;
- unsigned int b;
-
- if (x < -128 || x > 255 || x == -1)
- return 26;
-
- a.a0 = (unsigned char *) &b;
- a.a1 = a.a0 + sizeof (unsigned int);
- a.a2 = 0;
- bar (&a);
- return b;
-}