From: Andreas Schwab Date: Sat, 14 Jan 2012 20:59:32 +0000 (+0000) Subject: * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. X-Git-Tag: releases/gcc-4.7.0~990 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3b2accb78502f726a211e45f2e631a69672129a;p=thirdparty%2Fgcc.git * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. From-SVN: r183186 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 40e5d87d1c40..a07c399f9c08 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-01-14 Andreas Schwab + + * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. + 2012-01-14 Tobias Burnus 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 * 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 . + including . 2012-01-06 Jason Merrill diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C index aa9ff5d7c42d..636f0e778b94 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*-*-* } } } } }