https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103003
Bug ID: 103003 Summary: ice in set_relation, at value-relation.cc:592 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 51702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51702&action=edit C source code The attached C code with recent gcc trunk, does this: bug767.c: In function ‘func_1’: bug767.c:10:1: internal compiler error: in set_relation, at value-relation.cc:592 10 | func_1() { | ^~~~~~ 0x1c97b0c path_oracle::register_relation(basic_block_def*, tree_code, tree_node*, tree_node*) ../../trunk.git/gcc/value-relation.cc:0 The code first goes wrong sometime between git hash 22d34a2a50651d01 and ec0124e0acb556cd. I will try to reduce the code.