diff options
author | Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | 2003-10-23 22:48:53 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2003-10-23 20:48:53 +0000 |
commit | 1b251a0cf19b271253725c7decdd3d4fc845f91e (patch) | |
tree | 7cf6b7fbebf3e6337d50b375da913e5ac281cc91 | |
parent | d2c354f3807cfe1fd67bd3a4f024d9629f1be73f (diff) | |
download | gcc-1b251a0cf19b271253725c7decdd3d4fc845f91e.tar.gz |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/old-style-asm-1.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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. 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\\)"} } */ |