https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111865
Bug ID: 111865 Summary: GCC: 14: internal compiler error: symtab_node::verify failed 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: --- When compile this program, gcc crashes: ``` register unsigned long x asm("rsp"); struct { int a; } * p asm("rsp"); ``` Compiler Explorer: https://godbolt.org/z/xYq8KP8M3 The stack dump: ``` <source>:5:1: error: assembler name hash list corrupted 5 | } * p asm("rsp"); | ^ *rsp/0 (x) Type: variable definition analyzed Visibility: force_output semantic_interposition no_reorder public References: Referring: Availability: not-ready Varpool flags: <source>:5:1: internal compiler error: symtab_node::verify failed 0x231210e internal_error(char const*, ...) ???:0 0xbd03a9 symtab_node::verify() ???:0 0xbd168f symtab_node::verify_symtab_nodes() ???:0 0xbebdab symbol_table::finalize_compilation_unit() ???: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. ```