Patchwork [SH] PR 53511 - Remove obsolete PR 51340 test cases

login
register
mail settings
Submitter Oleg Endo
Date June 12, 2012, 5:05 p.m.
Message ID <1339520702.2198.6.camel@yam-132-YW-E178-FTW>
Download mbox | patch
Permalink /patch/164451/
State New
Headers show

Comments

Oleg Endo - June 12, 2012, 5:05 p.m.
Hello,

As mentioned in http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00544.html
the PR 51340 test cases are obsolete.  The attached patch deletes them.

OK?

Cheers,
Oleg

testsuite/ChangeLog:

	PR target/53511
	* gcc.target/sh/pr51340-1.c: Delete obsolete test case.
	* gcc.target/sh/pr51340-2.c: Likewise.
	* gcc.target/sh/pr51340-3.c: Likewise.
Mike Stump - June 12, 2012, 5:46 p.m.
On Jun 12, 2012, at 10:05 AM, Oleg Endo wrote:
> As mentioned in http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00544.html
> the PR 51340 test cases are obsolete.  The attached patch deletes them.
> 
> OK?

Ok.  Didn't Kaz already pre-approve the concept?
Oleg Endo - June 12, 2012, 6:26 p.m.
On Tue, 2012-06-12 at 10:46 -0700, Mike Stump wrote:
> On Jun 12, 2012, at 10:05 AM, Oleg Endo wrote:
> > As mentioned in http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00544.html
> > the PR 51340 test cases are obsolete.  The attached patch deletes them.
> > 
> > OK?
> 
> Ok.  Didn't Kaz already pre-approve the concept?

Yeah, actually I believe he did.  Just wanted to make sure ... 
Anyway, committed as rev 188471.

Cheers,
Oleg
Kaz Kojima - June 12, 2012, 10:12 p.m.
Oleg Endo <oleg.endo@t-online.de> wrote:
> As mentioned in http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00544.html
> the PR 51340 test cases are obsolete.  The attached patch deletes them.
> 
> OK?

OK.

Regards,
	kaz

Patch

Index: gcc/testsuite/gcc.target/sh/pr51340-2.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr51340-2.c	(revision 188425)
+++ gcc/testsuite/gcc.target/sh/pr51340-2.c	(working copy)
@@ -1,12 +0,0 @@ 
-/* Check that the fmac insn is not generated when -mno-fused-madd is specified.  */
-/* { dg-do compile { target "sh*-*-*" } } */
-/* { dg-options "-O1 -funsafe-math-optimizations -mno-fused-madd" } */
-/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } }  */
-/* { dg-final { scan-assembler-not "fmac" } } */
-
-float
-test_func (float a, float b, float c, float d, float e, float f)
-{
-  return a * b + c * d + e * f;
-}
-
Index: gcc/testsuite/gcc.target/sh/pr51340-1.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr51340-1.c	(revision 188425)
+++ gcc/testsuite/gcc.target/sh/pr51340-1.c	(working copy)
@@ -1,13 +0,0 @@ 
-/* Check that the fmac insn is generated when -funsafe-math-optimizations
-   is specified.  */
-/* { dg-do compile { target "sh*-*-*" } } */
-/* { dg-options "-O1 -funsafe-math-optimizations" } */
-/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } }  */
-/* { dg-final { scan-assembler "fmac" } } */
-
-float
-test_func (float a, float b, float c, float d, float e, float f)
-{
-  return a * b + c * d + e * f;
-}
-
Index: gcc/testsuite/gcc.target/sh/pr51340-3.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr51340-3.c	(revision 188425)
+++ gcc/testsuite/gcc.target/sh/pr51340-3.c	(working copy)
@@ -1,12 +0,0 @@ 
-/* Check that the fmac insn is generated when -mfused-madd is specified.  */
-/* { dg-do compile { target "sh*-*-*" } } */
-/* { dg-options "-O1 -mfused-madd" } */
-/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } }  */
-/* { dg-final { scan-assembler "fmac" } } */
-
-float
-test_func (float a, float b, float c, float d, float e, float f)
-{
-  return a * b + c * d + e * f;
-}
-