Re: [PATCH] Remove __cplusplus >= 201103

2021-04-22 Thread Martin Liška
On 4/22/21 3:59 PM, Richard Biener wrote: > For system.h please keep it working for C code (not sure if we use > a C compiler anywhere). All right. I've just did --enable-languages=all and all is fine. So there's likely no C usage of it. Martin

Re: [PATCH] Remove __cplusplus >= 201103

2021-04-22 Thread Richard Biener via Gcc-patches
On Thu, Apr 22, 2021 at 3:52 PM Martin Liška wrote: > > Right now, we require a C++11 compiler, so the check is not needed any > longer. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed once GCC 11.1 is released? For system.h please keep it work

[PATCH] Remove __cplusplus >= 201103

2021-04-22 Thread Martin Liška
Right now, we require a C++11 compiler, so the check is not needed any longer. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed once GCC 11.1 is released? Thanks, Martin gcc/analyzer/ChangeLog: * program-state.cc (program_state::operator=): Re