old-style-asm-1.c: Also check for (set (pc) on lines following the jump_insn.

* gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
	following the jump_insn.

From-SVN: r72868
This commit is contained in:
Zdenek Dvorak 2003-10-23 22:48:53 +02:00 committed by Zdenek Dvorak
parent d2c354f380
commit 1b251a0cf1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
following the jump_insn.
2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/cast-lvalue-1.c: New test.

View File

@ -20,4 +20,4 @@ void foo(int v)
in the generated code, supposedly corresponding to the if-statements.
It tries to check for jump_insn (set (pc) pattern, so that jump_insns
corresponding to return are not taken into account. */
/* { dg-final { scan-assembler-times "(?n)jump_insn.*set.*pc" 2 } } */
/* { dg-final { scan-assembler "jump_insn.*set \\(pc\\).*jump_insn.*set \\(pc\\)"} } */