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 109b23342dbfe177a8367d8c377aabf6a8ccebbb..412ebbfeee35ffd4ad424532440f7c053cda0d18 100644 (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.
index 144be2d9f1bb9c491a2593d9ddc1fdec7bb0a08c..aa9ff5d7c42da4dc994b39bd9957c2c794399679 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
 {