This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[SH, committed] Relax PR 51244-14 test case
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 10 May 2014 22:22:07 +0200
- Subject: [SH, committed] Relax PR 51244-14 test case
- Authentication-results: sourceware.org; auth=none
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;