X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fold-style-asm-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fold-style-asm-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=a265fe10d842acca5231987cf1028a744e2ffd9a;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/old-style-asm-1.c b/gcc/testsuite/gcc.dg/old-style-asm-1.c deleted file mode 100644 index a265fe10..00000000 --- a/gcc/testsuite/gcc.dg/old-style-asm-1.c +++ /dev/null @@ -1,27 +0,0 @@ -/* PR inline-asm/8832 */ -/* { dg-do compile } */ -/* { dg-options "-O2" } */ - -/* Verify that GCC doesn't optimize - old style asm instructions. */ - -void foo(int v) -{ - if (v) - asm ("dummy1"); - - asm ("dummy2"); - - if (v) - asm ("dummy3"); -} - -/* The purpose of the test below is to check that there are two branches - in the generated code, supposedly corresponding to the if-statements. - Warning: this is fragile and assumes that one of the generated labels - for the branches matches the string "L2", or as with - mmix-knuth-mmixware, "L:2". That assumption is generally invalid, - because for example it depends on the target macro - ASM_GENERATE_INTERNAL_LABEL to generate a name matching this regexp (as - with the default definition). */ -/* { dg-final { scan-assembler "L(:)?2" } } */