X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2F20011130-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2F20011130-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=393f82a91fbdf10694fbef9dd4357c94cf5e3610;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/20011130-1.c b/gcc/testsuite/gcc.dg/20011130-1.c deleted file mode 100644 index 393f82a9..00000000 --- a/gcc/testsuite/gcc.dg/20011130-1.c +++ /dev/null @@ -1,25 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O3 -g -finline-limit=100" } */ - -#define WORK(x, y) __asm__ ("" : "=r" (x) : "0" (x)); y += x + 26 -#define SOME_WORK(x, y) WORK(x, y); WORK(x, y); WORK(x, y); WORK(x, y) -#define MORE_WORK(x, y) SOME_WORK(x, y); SOME_WORK(x, y); SOME_WORK(x, y) -#define EVEN_MORE_WORK(x, y) MORE_WORK(x, y); MORE_WORK(x, y); MORE_WORK(x, y) -#define LOTS_OF_WORK(x, y) EVEN_MORE_WORK(x, y); EVEN_MORE_WORK(x, y) - -static int __attribute__((unused)) foo (int x) -{ - static inline int bar (int x) - { - int y; - y = x; - LOTS_OF_WORK(x, y); - LOTS_OF_WORK(x, y); - LOTS_OF_WORK(x, y); - LOTS_OF_WORK(x, y); - LOTS_OF_WORK(x, y); - LOTS_OF_WORK(x, y); - return y; - } - return bar(x); -}