constexpr-rom.C: Look for .rdata rather than rodata for MIPS.

gcc/testsuite/
	* g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata
	for MIPS.

From-SVN: r182791
This commit is contained in:
Richard Sandiford 2012-01-02 11:03:43 +00:00 committed by Richard Sandiford
parent 2da60e960b
commit c77233981a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
* g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata
for MIPS.
2012-01-02 Richard Sandiford <rdsandiford@googlemail.com>
* gfortran.dg/io_real_boz_3.f90: Require fortran_real_16.

View File

@ -1,6 +1,7 @@
// PR c++/49673: check that test_data goes into .rodata
// { dg-options -std=c++0x }
// { dg-final { scan-assembler "rodata" { target { *-*-linux-gnu || *-*-elf } } } }
// { dg-final { scan-assembler "\\.rdata" { target mips*-*-* } } }
// { dg-final { scan-assembler "rodata" { target { { *-*-linux-gnu || *-*-elf } && { ! mips*-*-* } } } } }
struct Data
{