Re: C++ PATCH for c++/71638, ICE with NSDMI and reference

2018-03-20 Thread Jason Merrill
OK. On Tue, Mar 20, 2018 at 3:50 PM, Marek Polacek wrote: > This extends my previous fix for c++/84927 in that it also updates > the ctor's flags when we replace an element. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > 2018-03-20 Marek Polacek > > PR c++/71638, ICE wit

C++ PATCH for c++/71638, ICE with NSDMI and reference

2018-03-20 Thread Marek Polacek
This extends my previous fix for c++/84927 in that it also updates the ctor's flags when we replace an element. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2018-03-20 Marek Polacek PR c++/71638, ICE with NSDMI and reference. * constexpr.c (cxx_eval_bare_aggregate): U