]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/debug/debug-4.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / debug / debug-4.c
diff --git a/gcc/testsuite/gcc.dg/debug/debug-4.c b/gcc/testsuite/gcc.dg/debug/debug-4.c
deleted file mode 100644 (file)
index 62e824a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/* This testcase failed, because scope containing baz was not emitted
-   (doesn't contain any instructions) and DWARF-2 couldn't find baz origin.  */
-/* { dg-do compile } */
-
-struct A { char *a, *b, *c, *d; };
-
-static int
-bar (struct A *x)
-{
-  return x->c - x->b;
-}
-
-void
-foo (void)
-{
-  struct A e;
-
-  {
-    int baz (void)
-      {
-       return bar (&e);
-      }
-  }
-  if (e.c - e.a > e.d - e.a)
-    e.c = e.d;
-}