2012/5/21 Paolo Carlini <paolo.carl...@oracle.com>:
> On 05/21/2012 01:45 AM, Michael Hope wrote:
>>
>> The testsuite for PR52796 uses the 'target c++11' selector which doesn't
>> exist in 4.6.
>> This patch backports the selector, clearing the 'ERROR:
>> g++.dg/cpp0x/variadic-value1.C:
>> syntax error in target selector "target c++11" for " dg-do 2 run { target
>> c++11 } "'
>> errors which have appeared in recent 4.6 builds.
>>
>> Tested on x86_64-linux-gnu with no regressions.  Changes the ERROR to
>> UNSUPPORTED.
>>
>> OK for 4.6?
>
> To be honest, when I saw the issue I thought we wanted simply to not use the
> target selector at all in the branch and simply add a // { dg-options
> "-std=c++11" } I thought somebody would commit the change as obvious ;)

Doesn't the target selector c++11 set -pedantic as well ?

-- 
Fabien

Reply via email to