https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88174

--- Comment #3 from emsr at gcc dot gnu.org ---
Created attachment 45150
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45150&action=edit
Special case REALPART_EXPR, IMAGPART_EXPR in cxx_eval_store_expression.

Obeying the smart people. ;-)

I reverted the workaround in libstdc++ that I needed because of this. With this
patch and reverting those changes libstdc++ works (C++20 constexpr complex).

Checking everything to see if I broke anything.

I shoud have a testcase somewhere too.

I didn't limit this to C++20.  What do you all think?

Reply via email to