diff mbox

[SH] Fix PR 49468 testcases

Message ID 1331679826.1876.84.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo March 13, 2012, 11:03 p.m. UTC
Hi,

The attach patch just swaps the dg directive lines for the PR 49468
testcases.  Having 'dg-skip-if' as the first directive doesn't seem to
work and always gets ignored.

OK to apply?

Cheers,
Oleg

testsuite/ChangeLog

	PR target/49468
	* gcc.target/sh/pr49468-si.c: Make dg-skip-if not the first
	directive.
	* gcc.target/sh/pr49468-di.c: Likewise.

Comments

Kaz Kojima March 13, 2012, 11:42 p.m. UTC | #1
Oleg Endo <oleg.endo@t-online.de> wrote:
> The attach patch just swaps the dg directive lines for the PR 49468
> testcases.  Having 'dg-skip-if' as the first directive doesn't seem to
> work and always gets ignored.
> 
> OK to apply?

OK.

Regards,
	kaz
diff mbox

Patch

Index: gcc/testsuite/gcc.target/sh/pr49468-si.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr49468-si.c	(revision 185360)
+++ gcc/testsuite/gcc.target/sh/pr49468-si.c	(working copy)
@@ -1,8 +1,8 @@ 
 /* Check that 32 bit integer abs is generated as neg instruction and
    conditional branch instead of default branch-free code.  */
-/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } }  */
 /* { dg-do compile { target "sh*-*-*" } } */
 /* { dg-options "-O1" } */
+/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } }  */
 /* { dg-final { scan-assembler-times "neg" 2 } } */
 
 
Index: gcc/testsuite/gcc.target/sh/pr49468-di.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr49468-di.c	(revision 185360)
+++ gcc/testsuite/gcc.target/sh/pr49468-di.c	(working copy)
@@ -1,8 +1,8 @@ 
 /* Check that 64 bit integer abs is generated as negc instruction pairs
    and conditional branch instead of default branch-free code.  */
-/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } }  */
 /* { dg-do compile { target "sh*-*-*" } } */
 /* { dg-options "-O1" } */
+/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } }  */
 /* { dg-final { scan-assembler-times "negc" 4 } } */