Re: C++ PATCH for c++/67364 (constexpr vs. empty class)

2016-03-04 Thread Jason Merrill
On 03/03/2016 05:37 PM, Jason Merrill wrote: On 02/25/2016 09:08 AM, Jason Merrill wrote: We don't bother evaluating a store to an empty class member, and we shouldn't complain about accesses either. This needs to use really_empty_class, since that's what expand_aggr_init_1 uses. And even ca

Re: C++ PATCH for c++/67364 (constexpr vs. empty class)

2016-03-03 Thread Jason Merrill
On 02/25/2016 09:08 AM, Jason Merrill wrote: We don't bother evaluating a store to an empty class member, and we shouldn't complain about accesses either. This needs to use really_empty_class, since that's what expand_aggr_init_1 uses. Tested x86_64-pc-linux-gnu, applying to trunk and 5. c