https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111886
Bug ID: 111886 Summary: GCC: 14: internal compiler error: in tree_to_uhwi, at tree.cc:6467 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: 141242068 at smail dot nju.edu.cn Target Milestone: --- The ICE trigger: ``` void f() { __builtin_eh_return_data_regno(-1);; } ``` Verification link: https://gcc.godbolt.org/z/K9178a89W The stack dump: ``` during RTL pass: expand <source>: In function 'f': <source>:2:3: internal compiler error: in tree_to_uhwi, at tree.cc:6467 2 | __builtin_eh_return_data_regno(-1);; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x231788e internal_error(char const*, ...) ???:0 0xa0002a fancy_abort(char const*, int, char const*) ???:0 0xca7b96 expand_builtin_eh_return_data_regno(tree_node*) ???:0 0xb79cc6 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ???:0 0xccd48b expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, 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. ```