https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876
Bug ID: 115876 Summary: runtime errors during bootstrap with -O3 -march=znver3 -fno-var-tracking-assignments Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For a bootstrap with this configure script: ../trunk/configure \ --disable-multilib \ --disable-werror \ --with-build-config=bootstrap-asan \ --with-build-config=bootstrap-ubsan \ --enable-checking=yes \ --enable-languages=c,c++,fortran sed 's;-O2;-O3 -march=znver3 -fno-var-tracking-assignments;' < Makefile > Makefile.tmp diff Makefile Makefile.tmp mv Makefile.tmp Makefile I get: $ grep error: mk.out ../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:417:33: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:417:33: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:417:33: runtime error: left shift of negative value -1 ../../trunk/gcc/ext-dce.cc:600:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'