Re: [PATCH] Fix g++.dg/cpp0x/constexpr-rom.C failure

2012-01-31 Thread Mike Stump
On Jan 27, 2012, at 11:47 AM, Andreas Schwab wrote: Ok, the option is only recognized when it is mentioned in the specs, and neither darwin nor aix configurations have %{G*} in their CC1_SPEC, same for osf or vms on alpha. Checked in the following as obvious. Thanks.

Re: [PATCH] Fix g++.dg/cpp0x/constexpr-rom.C failure

2012-01-27 Thread Andreas Schwab
Ok, the option is only recognized when it is mentioned in the specs, and neither darwin nor aix configurations have %{G*} in their CC1_SPEC, same for osf or vms on alpha. Checked in the following as obvious. Andreas. 2012-01-27 Andreas Schwab sch...@linux-m68k.org *

Re: [PATCH] Fix g++.dg/cpp0x/constexpr-rom.C failure

2012-01-18 Thread Dominique Dhumieres
* g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. It fails on powerpc-apple-darwin9 with FAIL: g++.dg/cpp0x/constexpr-rom.C (test for excess errors) Excess errors: g++: error: unrecognized option '-G' TIA Dominique

Re: [PATCH] Fix g++.dg/cpp0x/constexpr-rom.C failure

2012-01-18 Thread Andreas Schwab
domi...@lps.ens.fr (Dominique Dhumieres) writes: * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. It fails on powerpc-apple-darwin9 with FAIL: g++.dg/cpp0x/constexpr-rom.C (test for excess errors) Excess errors: g++: error: unrecognized option '-G' That is strange, g.opt is added

Re: [PATCH] Fix g++.dg/cpp0x/constexpr-rom.C failure

2012-01-14 Thread Jakub Jelinek
On Sat, Jan 14, 2012 at 08:57:00PM +0100, Andreas Schwab wrote: Fix spurious failure by disabling use of sdata. Tested on powerpc-linux. Please use dg-additional-options instead. 2012-01-14 Andreas Schwab sch...@linux-m68k.org * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where

Re: [PATCH] Fix g++.dg/cpp0x/constexpr-rom.C failure

2012-01-14 Thread Andreas Schwab
Thanks, I hadn't discovered this yet. Andreas. 2012-01-14 Andreas Schwab sch...@linux-m68k.org * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable. diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C index aa9ff5d..636f0e7 100644