Re: [C++ PATCH] Fix error-recovery in maybe_thunk_body (PR c++/79899)

2017-03-10 Thread Jason Merrill
OK. On Tue, Mar 7, 2017 at 2:03 PM, Jakub Jelinek wrote: > Hi! > > Apparently in error recovery, populate_clone_array can't return fns > with all NULLs. maybe_thunk_body used to handle that fine, but > the newly added ctor_omit_inherited_parms call ICEs. > > Fixed thusly,

[C++ PATCH] Fix error-recovery in maybe_thunk_body (PR c++/79899)

2017-03-07 Thread Jakub Jelinek
Hi! Apparently in error recovery, populate_clone_array can't return fns with all NULLs. maybe_thunk_body used to handle that fine, but the newly added ctor_omit_inherited_parms call ICEs. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2017-03-07 Jakub