old-style-asm-1.c: Also check for (set (pc) on lines following the jump_insn.
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Thu, 23 Oct 2003 20:48:53 +0000 (22:48 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Thu, 23 Oct 2003 20:48:53 +0000 (20:48 +0000)
* gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
following the jump_insn.

From-SVN: r72868

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/old-style-asm-1.c

index d50d0fb..d7a938d 100644 (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.
index 5c515a6..8af0077 100644 (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\\)"} } */