Re: [PATCH] genconditions: Add support for targets without non-trivial insn conditions

2022-05-04 Thread Jakub Jelinek via Gcc-patches
On Wed, May 04, 2022 at 10:57:57AM +0200, Richard Biener wrote: > On Wed, 4 May 2022, Jakub Jelinek wrote: > > > Hi! > > > > Somebody complained on IRC that when writing a new backend one can get > > an error while compiling build/gencondmd.cc. > > The problem is that when host compiler is g++ 3

Re: [PATCH] genconditions: Add support for targets without non-trivial insn conditions

2022-05-04 Thread Richard Biener via Gcc-patches
On Wed, 4 May 2022, Jakub Jelinek wrote: > Hi! > > Somebody complained on IRC that when writing a new backend one can get > an error while compiling build/gencondmd.cc. > The problem is that when host compiler is g++ 3 or later (or when > bootstrapping), we compile it with g++ -std=c++11 -pedanti

[PATCH] genconditions: Add support for targets without non-trivial insn conditions

2022-05-04 Thread Jakub Jelinek via Gcc-patches
Hi! Somebody complained on IRC that when writing a new backend one can get an error while compiling build/gencondmd.cc. The problem is that when host compiler is g++ 3 or later (or when bootstrapping), we compile it with g++ -std=c++11 -pedantic and the generated insn_conditions array contains pai