On Wed, 9 Nov 2011, Jason Merrill wrote:

> While working on an earlier PR I noticed that make check-c++0x wasn't actually
> running a lot of tests in C++11 mode because the -std=c++11 that it added came
> before the default arguments, so any test without a { dg-options } line would
> still be run in C++98 mode.  So I've reworked the C++ testsuite to run in both
> modes:  If a test specifies a -std, then we use that, otherwise we do both.

To confirm: what do the PASS or FAIL lines look like?  They need to be 
different for the two modes; it's bad to have

PASS: g++.dg/whatever
PASS: g++.dg/whatever

as that breaks automatic comparisons; you need

PASS: g++.dg/whatever
PASS: g++.dg/whatever -std=c++11

or something similar with unique names for the two versions of each test.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to