https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116465
Bug ID: 116465 Summary: __builtin_eh_pointer ICEs when passed seemingly any argument Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gabravier at gmail dot com Target Milestone: --- void canada(){ __builtin_eh_pointer(0); } This crashes GCC with the following error: during GIMPLE pass: eh <source>: In function 'canada': <source>:1:6: internal compiler error: Segmentation fault 1 | void canada(){ | ^~~~~~ 0x246c635 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x247e785 internal_error(char const*, ...) ???:0 0x110541d verify_gimple_in_seq(gimple*, bool) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.