Re: C++ PATCH for c++/91545 - ICE in constexpr store evaluation

2019-08-26 Thread Jason Merrill
OK. On Mon, Aug 26, 2019 at 9:35 AM Marek Polacek wrote: > Now that DECL_MUTABLE_P checks that it got a FIELD_DECL node, One Does Not > Simply Check DECL_P. For an ARRAY_REF, "elt" can be a VAR_DECL. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > 2019-08-26 Marek Polacek > >

C++ PATCH for c++/91545 - ICE in constexpr store evaluation

2019-08-26 Thread Marek Polacek
Now that DECL_MUTABLE_P checks that it got a FIELD_DECL node, One Does Not Simply Check DECL_P. For an ARRAY_REF, "elt" can be a VAR_DECL. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2019-08-26 Marek Polacek PR c++/91545 - ICE in constexpr store evaluation. * conste