Re: C++ PATCH for c++/85545, ICE with noexcept static_cast

2018-04-27 Thread Jason Merrill
On Fri, Apr 27, 2018 at 11:00 AM, Jason Merrill wrote: > With Nathan's patch for 85437, constexpr evaluation now breaks open a > PTRMEM_CST that has a non-qualification conversion. Then actually > performing the conversion means messing with the contents of the > CONSTRUCTOR. And some follow-on

C++ PATCH for c++/85545, ICE with noexcept static_cast

2018-04-27 Thread Jason Merrill
With Nathan's patch for 85437, constexpr evaluation now breaks open a PTRMEM_CST that has a non-qualification conversion. Then actually performing the conversion means messing with the contents of the CONSTRUCTOR. Tested x86_64-pc-linux-gnu, applying to trunk. commit 487666e08d885b64235a72c4e9a94