https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120200
Bug ID: 120200 Summary: [16 Regression] profiledbootstrap broken on x86_64-linux with -Wstringop-overflow in i386-expand.cc Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- I tried a profiledbootstrap on x86_64-linux-gnu at r16-457-g49c44911df72f55e2004ffa9f5eb362de29ca188 and it failed as follows. Configuration flags: --with-arch=native --enable-multilib --with-multilib-list=m32,m64 It fails during stageprofile with: /fast/trunk/src/gcc-worktrees/base-profile/gcc/config/i386/i386-expand.cc: In function ‘bool expand_vec_perm2_vperm2f128_vblend(expand_vec_perm_d*)’: /fast/trunk/src/gcc-worktrees/base-profile/gcc/config/i386/i386-expand.cc:22907:20: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 22907 | dthird.perm[i] = i ^ nelt2; | ~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /fast/trunk/src/gcc-worktrees/base-profile/gcc/config/i386/i386-expand.cc:95: /fast/trunk/src/gcc-worktrees/base-profile/gcc/config/i386/i386-expand.h:29:17: note: at offset 64 into destination object ‘expand_vec_perm_d::perm’ of size 64 29 | unsigned char perm[MAX_VECT_LEN]; | ^~~~