constexpr-rom.C: Look for .rdata rather than rodata for MIPS.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 2 Jan 2012 11:03:43 +0000 (11:03 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 2 Jan 2012 11:03:43 +0000 (11:03 +0000)
gcc/testsuite/
* g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata
for MIPS.

From-SVN: r182791

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C

index 109b233..412ebbf 100644 (file)
@@ -1,5 +1,10 @@
 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.
        * gfortran.dg/io_real_boz_4.f90: Likewise.
        * gfortran.dg/io_real_boz_5.f90: Likewise.
index 144be2d..aa9ff5d 100644 (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
 {