X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fdebug%2Fdebug-4.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fdebug%2Fdebug-4.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=62e824a548c0c66ffb510a04c6c47e2f92fd7cb7;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/debug/debug-4.c b/gcc/testsuite/gcc.dg/debug/debug-4.c deleted file mode 100644 index 62e824a5..00000000 --- a/gcc/testsuite/gcc.dg/debug/debug-4.c +++ /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; -}