https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97187
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-09-24 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Started to ICE with r11-423-gcda6396a1b6e6bba, before that it was rejected with: $ g++-10 pr97187.C -c -fno-exceptions pr97187.C: In instantiation of ‘DI zl() [with DI = <lambda()>]’: pr97187.C:15:30: required from here pr97187.C:7:57: error: exception handling disabled, use ‘-fexceptions’ to enable 7 | auto au = [] () -> DI { return *new auto (true ? yp : throw); }; | ^~~~~