[Bug target/124350] G++ on macOS produces crashing executable for nested exception with -O0
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 5 12:49:22 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124350
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-03-05
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Target|aarch64-darwin |*-*-darwin24
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #3)
> Homebrew gets its port from iains's arm64 branch, I believe:
> https://github.com/iains/gcc-darwin-arm64
However, I think the issue also applies to x86_64, and I suspect is related to
implementation divergence in the handling exception pointers. See
18_support/nested_exception/rethrow_if_nested.cc from the libstdc++ testsuite
More information about the Gcc-bugs
mailing list