]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/20000108-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / 20000108-1.c
diff --git a/gcc/testsuite/gcc.dg/20000108-1.c b/gcc/testsuite/gcc.dg/20000108-1.c
deleted file mode 100644 (file)
index 4391be2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright (C) 2000  Free Software Foundation.
-
-   by Alexandre Oliva  <oliva@lsd.ic.unicamp.br>  */
-
-/* { dg-do run } */
-/* { dg-options "-O3" } */
-
-extern void abort (void);
-
-void foo () {} /* unused, but essential to trigger the bug */
-
-int main () {
-  int i;
-  /* use asms to prevent optimizations */
-  /* i = -1; */ asm ("" : "=r" (i) : "0" (-1));
-  /* i =  1; */ asm ("" : "=r" (i) : "0" (i ? 1 : 2));
-  if (i != 1)
-    abort();
-  return 0;
-}