https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111809
--- Comment #1 from wierton <141242068 at smail dot nju.edu.cn> --- Full stack backtrace: <source>: In function 'bar': <source>:8:1: error: SSA name '<unknown>' with version 3 has no definition 8 | } | ^ At top level: cc1: internal compiler error: in release_function_body, at cgraph.cc:1805 0x22ff3ee internal_error(char const*, ...) ???:0 0x9fc0a8 fancy_abort(char const*, int, char const*) ???:0 0xbd8857 cgraph_node::release_body(bool) ???:0 0xbde851 cgraph_node::remove() ???:0 0xbe92d1 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.