https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:3dea90505df136a4b361665772ef8e62306cfcdb commit r11-9233-g3dea90505df136a4b361665772ef8e62306cfcdb Author: Richard Biener <rguent...@suse.de> Date: Wed Nov 10 11:08:03 2021 +0100 testsuite/102690 - XFAIL g++.dg/warn/Warray-bounds-16.C This XFAILs the bogus diagnostic test and rectifies the expectation on the optimization. 2021-11-10 Richard Biener <rguent...@suse.de> PR testsuite/102690 * g++.dg/warn/Warray-bounds-16.C: XFAIL diagnostic part and optimization. (cherry picked from commit b2cd32b743ba440e75505ce30c6b5c592ed144ea)