https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85164
--- Comment #11 from Vittorio Zecca <zeccav at gmail dot com> --- After applying your fixes I still have overflow compiling the following // Must be compiled with nonzero optimization //../../gcc/gcc/poly-int.h:1095:5: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int' // 87042 const char a[] = {}; int b() { '\0' == a[9223372036854775807]; } ../../gcc/gcc/poly-int.h:1095:5: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int' Remember must be compiled with nonzero optimization