https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100201
Bug ID: 100201
Summary: Signed integer overflow in poly-int.h
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: acoplan at gcc dot gnu.org
Target Milestone: ---
Bootstrapping --with-build-config=bootstrap-ubsan on AArch64 shows:
gcc/xgcc -B gcc
/home/alecop01/toolchain/src/gcc/gcc/testsuite/gcc.c-torture/execute/pr79286.c
-c -O3
/home/alecop01/toolchain/src/gcc/gcc/poly-int.h:1095:5: runtime error: signed
integer overflow: -8846744073709551616 * 8 cannot be represented in type 'long
int'