On 06/26/2014 11:15 AM, Ed Smith-Rowland wrote:
I, for one, would like gcc to bootstrap with c++11/c++14.  I think we
should be starting to shake down that path.  I'm probably not alone in
this.

Agreed.

On the other hand, I don't think c++-concepts branch should be the
leader on this.  We have our work cut out for us without fighting these
bugs.

Also agreed.

Maybe a c++11-bootstrap branch could be started to work the c++1*
bootstrap out.

I don't think a separate branch is necessary; people can bootstrap with -std=c++11 locally and fix issues they find on the trunk.

As for flags.  I vote for concepts switched on for -std=c++1y.  As for
-fconcepts turning on c++1y I'm less sure.  We could allow concepts for
C++11 (I don't think c++98 would work because of constexpr and maybe new
template syntax).  I hadn't thought about that.  Personally I leave
-std=c++14 and use all the things... ;-)

-fconcepts should not be implied by -std=c++1[4y], because concepts are not part of C++14. We could add -std=c++1z and add it to that, though.

I lean weakly against having -fconcepts imply a particular -std level, but it should definitely require c++11 or higher.

Jason

Reply via email to