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

--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Created attachment 37436
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37436&action=edit
Patch I'm testing to fix the bug

Delayed folding may have to instantiate and evaluate template constexpr
functions.  We don't want finish_function to be called recursively in general,
but for this specific case, that's not only acceptable, it's necessary, so deal
with it.

Reply via email to