https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104843
Bug ID: 104843 Summary: signed overflow in compute_const_anchors, at cse.cc:1180 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: xry111 at mengyan1223 dot wang Target Milestone: --- Bootstrapping GCC on mips64el with a WIP patch for sanitizer support and bootstrap-ubsan produces: ../../gcc/gcc/cse.cc:1180:19: runtime error: signed integer overflow: 9223372036854775807 - -9223372036854775808 cannot be represented in type 'long int'