diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 109b23342db..412ebbfeee3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-01-02 Richard Sandiford + + * g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata + for MIPS. + 2012-01-02 Richard Sandiford * gfortran.dg/io_real_boz_3.f90: Require fortran_real_16. diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C index 144be2d9f1b..aa9ff5d7c42 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C @@ -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 {