]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/990208-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 990208-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/990208-1.c b/gcc/testsuite/gcc.c-torture/execute/990208-1.c
deleted file mode 100644 (file)
index 9d7d714..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/* As a quality of implementation issue, we should not prevent inlining
-   of function explicitly marked inline just because a label therein had
-   its address taken.  */
-
-#ifndef NO_LABEL_VALUES
-static void *ptr1, *ptr2;
-static int i = 1;
-
-static __inline__ void doit(void **pptr, int cond)
-{
-  if (cond) {
-  here:
-    *pptr = &&here;
-  }
-}
-
-static void f(int cond)
-{
-  doit (&ptr1, cond);
-}
-
-static void g(int cond)
-{
-  doit (&ptr2, cond);
-}
-
-static void bar(void);
-
-int main()
-{
-  f (i);
-  bar();
-  g (i);
-
-#ifdef  __OPTIMIZE__
-  if (ptr1 == ptr2)
-    abort ();
-#endif
-
-  exit (0);
-}
-
-void bar(void) { }
-
-#else /* NO_LABEL_VALUES */
-int main() { exit(0); }
-#endif