https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126811
--- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 65619 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65619&action=edit revised fix This handles the cases where it is valid to pass a folded tree to tsubst_expr (it requires reversion of the applied patch). With this approach the original (PR126811) and the successor (PR127395, PR127439) all pass.
