https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108942
Bug ID: 108942 Summary: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 54541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54541&action=edit preprocessed source from -freport-bug The gcc.dg/torture/ssa-fre-7.c tests fail with the following backtrace: 0x844e1f build2(tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/tree.cc:5096 0x9a26d7 build2_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/tree.h:4604 0x9a26d7 c_parser_gimple_binary_expression ../../gcc/c/gimple-parser.cc:1027 0x9a38ce c_parser_gimple_statement ../../gcc/c/gimple-parser.cc:873 0x9a38ce c_parser_gimple_compound_statement ../../gcc/c/gimple-parser.cc:664 0x9a5c11 c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il, profile_count) ../../gcc/c/gimple-parser.cc:253 0x9954a6 c_parser_declaration_or_fndef ../../gcc/c/c-parser.cc:2835 0x99c6fb c_parser_external_declaration ../../gcc/c/c-parser.cc:1925 0x99d0d3 c_parser_translation_unit ../../gcc/c/c-parser.cc:1779 0x99d0d3 c_parse_file() ../../gcc/c/c-parser.cc:24632 0xa088e1 c_common_parse_file() ../../gcc/c-family/c-opts.cc:1248 This is in a linux to 64-bit windows cross compiler environment. Output of -freport-bug added as an attachment. For this version of the repository (commit e6d39f68d03c46637ca6e1bede3d28eae6278df3), line 23 is: p_4 = _Literal (int *) &x + _2;