Re: C++ PATCH for c++/92134 - constinit malfunction in static data member

2019-10-30 Thread Jason Merrill
On 10/24/19 6:30 PM, Marek Polacek wrote: I wasn't properly setting LOOKUP_CONSTINIT in grokfield and so we didn't detect a non-const initializer. Bootstrapped/regtested on x86_64-linux, ok for trunk? OK. 2019-10-24 Marek Polacek PR c++/92134 - constinit malfunction in static dat

C++ PATCH for c++/92134 - constinit malfunction in static data member

2019-10-24 Thread Marek Polacek
I wasn't properly setting LOOKUP_CONSTINIT in grokfield and so we didn't detect a non-const initializer. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2019-10-24 Marek Polacek PR c++/92134 - constinit malfunction in static data member. * decl2.c (grokfield): Set LOOKUP