[Bug tree-optimization/108306] false-positive -Warray-bounds warning emitted with -fsanitize=shift

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 9 11:24:16 GMT 2023


Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-01-09
             Status|UNCONFIRMED                 |WAITING

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I fail to get any diagnostic with the better PoC:

> gcc-12 -S t.c -Warray-bounds -fsanitize=shift -O2 -fno-strict-aliasing

what options are required?

More information about the Gcc-bugs mailing list