[Bug c++/112553] noexcept lambda does not generate call to terminate

2023-11-15 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112553 --- Comment #3 from Federico Kircheis --- I stand corrected, sorry for the report. Where can I find official information/documentation about the personality function used by gcc? The fact that clang and msvc handle this case differently made

[Bug c++/112553] noexcept lambda does not generate call to terminate

2023-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112553 --- Comment #2 from Jonathan Wakely --- (In reply to Federico Kircheis from comment #0) > If "do_something" throws, as the lambda is marked noexcept, there should be > a call to std::terminate, but it is not the case: > https://godbolt.org/z/xjq

[Bug c++/112553] noexcept lambda does not generate call to terminate

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112553 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED