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, committed] Relax PR 51244-14 test case


Hi,

I've noticed that the pr51244-14.c test case started to fail under some
circumstances.  It seems that the original test criteria was too strict
which made it sensitive to some code motion effects.

Committed as r210301.

Cheers,
Oleg

gcc/testsuite/ChangeLog:
	PR target/51244
	* gcc.target/sh/pr51244-14.c: Relax criteria for passing the test.
Index: gcc/testsuite/gcc.target/sh/pr51244-14.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr51244-14.c	(revision 210299)
+++ gcc/testsuite/gcc.target/sh/pr51244-14.c	(working copy)
@@ -8,11 +8,12 @@
 	tst	r0,r0
 	bf/s	.L35
    where the negated T bit store did not combine properly.  Since there are
-   other movt insns we only check for the xor and the extu.  */
+   other movt insns and the sequence will try to utilize the 'movt_movrt'
+   patterns, we only check for the extu.  */
 /* { dg-do compile }  */
 /* { dg-options "-O2" } */
 /* { dg-skip-if "" { "sh*-*-*" } { "-m5*" } { "" } } */
-/* { dg-final { scan-assembler-not "xor|extu" } } */
+/* { dg-final { scan-assembler-not "extu" } } */
 
 typedef struct transaction_s transaction_t;
 

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