https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58560|0 |1 is obsolete| | --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 58565 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58565&action=edit gcc15-pr115747.patch Updated patch. Had to guard return error_mark_node for the non-SFINAE case on !flag_permissive, otherwise it triggers an ICE (statement parsing into error_mark_node without seen_error ()).