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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 60374
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60374&action=edit
gcc15-pr86769-wip.patch

This is WIP what I have right now, constexpr.cc evaluation of it not done yet,
plus need to write testcases.
The problem with sticking the COND expression into the body in the FE is that
then BREAK_STMT/CONTINUE_STMT don't work properly, because the C genericization
thinks even the COND is in the body.

Reply via email to