https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123189
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Priority|P3 |P1
Ever confirmed|0 |1
Last reconfirmed| |2026-01-12
Keywords|ice-on-invalid-code, |
|needs-reduction |
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reduced testcase from the other PR:
template <typename> void make_scope_guard();
template <typename Callback> struct final {
friend void make_scope_guard<>() noexcept(Callback ::value);
};