[patch] [gsoc] [gimplefe] GIMPLE FE Project

Pedro Alves palves@redhat.com
Mon Aug 22 21:54:00 GMT 2016

On 08/22/2016 10:26 PM, David Malcolm wrote:

> it has no problems, whereas with the default for gcc 5 and earlier:
>   $ gcc -c test.cc -std=gnu++98
>   test.cc:3:15: warning: non-static data member initializers only  
> available with -std=c++11 or -std=gnu++11
>    int field = 42;
>                ^~
> So it's probably worth attempting to bootstrap with an older gcc as the
> starting compiler.

I believe that only stage 1 is built with -std=gnu++98 forced, and also
stage 1 is built without -Werror, so I think you'd need to start with a
compiler that predates support for that construct, not just one
that predates the flip of the default.

Pedro Alves

More information about the Gcc-patches mailing list