https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111816
Bug ID: 111816 Summary: GCC: 14: internal compiler error: Segmentation fault at c_parser_parse_gimple_body 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 with GCC-14, GCC crashes: ``` __GIMPLE (ssa) int foo (int *a) { return 0; return 0; } ``` Compiler Explorer: https://godbolt.org/z/zecdo68WE The full stack dump: ``` <source>: In function 'foo': <source>:5:1: internal compiler error: Segmentation fault 5 | } | ^ 0x22ff3ee internal_error(char const*, ...) ???:0 0xaad8ac c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il, profile_count) ???:0 0xaa468d c_parse_file() ???:0 0xb17919 c_common_parse_file() ???: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. ```