[Bug tree-optimization/38480] bogus warning with -O3 -Wall: "array subscript is above array bounds"

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 17 16:46:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38480

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |7.2.0, 8.0
         Resolution|---                         |FIXED
      Known to fail|                            |4.9.4, 5.4.0, 6.3.0

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
There is no warning since r239421 (gcc 7.0.0) and function f() is optimized
into a no-op, so resolving as fixed.


More information about the Gcc-bugs mailing list