Commit af812813 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

* gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.

From-SVN: r63991
parent 39a91264
2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.
2003-03-08 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/Wunused.c: Update test.
......
......@@ -16,4 +16,12 @@ void foo(int v)
asm ("dummy3");
}
/* { dg-final { scan-assembler "L2" } } */
/* 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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment