Patchwork [SH] PR 54685 - fix scanning of not insn

login
register
mail settings
Submitter Oleg Endo
Date Feb. 15, 2013, 9:31 p.m.
Message ID <1360963911.2315.2.camel@yam-132-YW-E178-FTW>
Download mbox | patch
Permalink /patch/220873/
State New
Headers show

Comments

Oleg Endo - Feb. 15, 2013, 9:31 p.m.
Hi,

The attached patch fixes the scanning of the not insn in the test case,
as suggested by Kaz in the PR.
Tested with 

make -k check-gcc RUNTESTFLAGS="sh.exp=pr54685.c --target_board=sh-sim
\{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"

applied as obvious to trunk.

Cheers,
Oleg

testsuite/ChangeLog:

	PR target/54685
	* gcc.target/sh/pr54685.c: Fix scanning of not insn.

Patch

Index: gcc/testsuite/gcc.target/sh/pr54685.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr54685.c	(revision 196091)
+++ gcc/testsuite/gcc.target/sh/pr54685.c	(working copy)
@@ -3,7 +3,7 @@ 
 /* { dg-do compile { target "sh*-*-*" } } */
 /* { dg-options "-O1" } */
 /* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } }  */
-/* { dg-final { scan-assembler-not "not" } } */
+/* { dg-final { scan-assembler-not "not\[ \t\]" } } */
 /* { dg-final { scan-assembler-times "cmp/pz" 7 } } */
 /* { dg-final { scan-assembler-times "shll" 1 } } */
 /* { dg-final { scan-assembler-times "movt" 4 } } */