Commit cca8d0b2 by Toma Tabacu Committed by Toma Tabacu

MIPS: Cleanup the forcing of assembly output in error tests.

gcc/testsuite

	* gcc.target/mips/oddspreg-2.c (dg-options): Remove dg-skip-if for
	-fno-fat-lto-objects and add the -ffat-lto-objects option, along with
	an explanation for its purpose.
	* gcc.target/mips/oddspreg-3.c (dg-options): Likewise.
	* gcc.target/mips/oddspreg-6.c (dg-options): Likewise.
	* gcc.target/mips/no-dsp-1.c: Add an explanation for the purpose of
	-ffat-lto-objects.
	* gcc.target/mips/pr54240.c: Likewise.
	* gcc.target/mips/r10k-cache-barrier-14.c: Likewise.
	* gcc.target/mips/soft-float-1.c: Likewise.

From-SVN: r243908
parent 16937220
2016-12-23 Toma Tabacu <toma.tabacu@imgtec.com>
* gcc.target/mips/oddspreg-2.c (dg-options): Remove dg-skip-if for
-fno-fat-lto-objects and add the -ffat-lto-objects option, along with
an explanation for its purpose.
* gcc.target/mips/oddspreg-3.c (dg-options): Likewise.
* gcc.target/mips/oddspreg-6.c (dg-options): Likewise.
* gcc.target/mips/no-dsp-1.c: Add an explanation for the purpose of
-ffat-lto-objects.
* gcc.target/mips/pr54240.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-14.c: Likewise.
* gcc.target/mips/soft-float-1.c: Likewise.
2016-12-22 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
* gcc.dg/gimplefe-20.c: New test-case.
......
/* { dg-options "-mno-dsp -ffat-lto-objects" } */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
void
foo (void)
......
/* Check that we disable odd-numbered single precision registers. */
/* { dg-skip-if "needs asm output" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
/* { dg-options "-mabi=32 -mno-odd-spreg -mhard-float" } */
/* { dg-options "-mabi=32 -mno-odd-spreg -mhard-float -ffat-lto-objects" } */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
NOMIPS16 void
foo ()
......
/* Check that we disable odd-numbered single precision registers. */
/* { dg-skip-if "needs asm output" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
/* { dg-options "-mabi=32 -mfp32 -march=loongson3a -mhard-float" } */
/* { dg-options "-mabi=32 -mfp32 -march=loongson3a -mhard-float -ffat-lto-objects" } */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
NOMIPS16 void
foo ()
......
/* Check that we disable odd-numbered single precision registers for FPXX. */
/* { dg-skip-if "needs asm output" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
/* { dg-options "-mabi=32 -mfpxx -mhard-float" } */
/* { dg-options "-mabi=32 -mfpxx -mhard-float -ffat-lto-objects" } */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
NOMIPS16 void
foo ()
......
/* { dg-do compile } */
/* { dg-options "-fdump-tree-phiopt-details -ffat-lto-objects isa>=4" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-O1" } { "" } } */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
typedef struct s {
int v;
......
/* { dg-options "(-mips16) -mr10k-cache-barrier=store -ffat-lto-objects" } */
/* Test that indirect calls are protected. */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
MIPS16 void foo (void) { } /* { dg-message "sorry, unimplemented" } */
/* { dg-options "-msoft-float -ffat-lto-objects" } */
/* This is testing for errors which can only happen in assembly generation.
dg-error does not guarantee assembly generation, so we need to do it
manually by using -ffat-lto-objects. */
void
foo (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment