diff options
author | Andreas Schwab <schwab@gcc.gnu.org> | 2012-01-14 20:59:32 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2012-01-14 20:59:32 +0000 |
commit | e3b2accb78502f726a211e45f2e631a69672129a (patch) | |
tree | f583a4c53de8ae97fba0c212faa386411db032f2 | |
parent | a8a9e2a88975a5a8a8544aaea483d3a756b5d1ee (diff) | |
download | gcc-e3b2accb78502f726a211e45f2e631a69672129a.zip gcc-e3b2accb78502f726a211e45f2e631a69672129a.tar.gz gcc-e3b2accb78502f726a211e45f2e631a69672129a.tar.bz2 |
* g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable.
From-SVN: r183186
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 40e5d87..a07c399 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-01-14 Andreas Schwab <schwab@linux-m68k.org> + + * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. + 2012-01-14 Tobias Burnus <burnus@net-b.de> PR fortran/51800 @@ -225,7 +229,7 @@ PR gcov-profile/51717 * gcc.misc-tests/gcov-13.c: Skip on 32-bit hppa*-*-hpux*. * gcc.misc-tests/gcov-14.c: Likewise. - + 2012-01-06 Jason Merrill <jason@redhat.com> * g++.dg/parse/new5.C: New. @@ -234,7 +238,7 @@ PR testsuite/51655 * c-c++-common/tm/memcpy-1.c: Declare memcpy instead of - including <string.h>. + including <string.h>. 2012-01-06 Jason Merrill <jason@redhat.com> diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C index aa9ff5d..636f0e7 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C @@ -1,5 +1,6 @@ // PR c++/49673: check that test_data goes into .rodata // { dg-options -std=c++0x } +// { dg-additional-options -G0 { target alpha*-*-* frv*-*-* ia64-*-* lm32*-*-* m32r*-*-* microblaze*-*-* mips*-*-* powerpc*-*-* rs6000*-*-* score*-*-* } } // { dg-final { scan-assembler "\\.rdata" { target mips*-*-* } } } // { dg-final { scan-assembler "rodata" { target { { *-*-linux-gnu || *-*-elf } && { ! mips*-*-* } } } } } |