From: Zdenek Dvorak Date: Thu, 23 Oct 2003 20:48:53 +0000 (+0200) Subject: old-style-asm-1.c: Also check for (set (pc) on lines following the jump_insn. X-Git-Tag: releases/gcc-3.4.0~2766 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b251a0cf19b271253725c7decdd3d4fc845f91e;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d50d0fbddaba..d7a938d73b84 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 5c515a6e8ac3..8af007795a72 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\\)"} } */