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.
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; -} -