This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SH] PR 54685 - fix scanning of not insn


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.

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 } } */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]