Re: [PATCH] fix build of targets not implementing add_stmt_cost

2020-05-05 Thread Richard Biener
On Tue, 5 May 2020, Alexander Monakov wrote: > > > On Tue, 5 May 2020, Richard Biener wrote: > > > > > Pushed as obvious. > > > > C++ makes mismatched prototype and implementation OK. > > (because of overloads) Yes, of course. I'll also try to remember to compile at least one unaffected cc

Re: [PATCH] fix build of targets not implementing add_stmt_cost

2020-05-05 Thread Alexander Monakov via Gcc-patches
On Tue, 5 May 2020, Richard Biener wrote: > > Pushed as obvious. > > C++ makes mismatched prototype and implementation OK. (because of overloads) I think this would have been caught if GCC enabled -Wmissing-declarations during bootstrap, and the main reason we have this problem is that the