This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] [gsoc] [gimplefe] GIMPLE FE Project
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.
Thanks,
Pedro Alves