From 1b251a0cf19b271253725c7decdd3d4fc845f91e Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Thu, 23 Oct 2003 22:48:53 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/old-style-asm-1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d50d0fbddab..d7a938d73b8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-10-20 Zdenek Dvorak + + * gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines + following the jump_insn. + 2003-10-22 Joseph S. Myers * gcc.dg/cast-lvalue-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/old-style-asm-1.c b/gcc/testsuite/gcc.dg/old-style-asm-1.c index 5c515a6e8ac..8af007795a7 100644 --- a/gcc/testsuite/gcc.dg/old-style-asm-1.c +++ b/gcc/testsuite/gcc.dg/old-style-asm-1.c @@ -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\\)"} } */