aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/20020517-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/20020517-1.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/20020517-1.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/20020517-1.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/20020517-1.c
deleted file mode 100644
index 74c6b3e6e..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/20020517-1.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* This testcase caused ICE in do_SUBST on IA-32, because 0xf6 constant
- was not sign-extended for QImode. */
-/* { dg-do run } */
-/* { dg-options "-O2" } */
-/* { dg-options "-O2 -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
-
-#include <limits.h>
-
-void abort (void);
-void exit (int);
-
-void foo (void)
-{
- int i;
- char *p;
-
- p = (char *) &i;
- *p = -10;
- if (* (unsigned char *) p != 0x100 - 10)
- abort ();
-}
-
-int main (void)
-{
- if (UCHAR_MAX == 255)
- foo ();
- exit (0);
-}