[Bug middle-end/63477] [6/7/8 Regression] Bogus warning with -O3 -Warray-bounds: array subscript is above array bounds

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 16 16:50:00 GMT 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |8.0
         Resolution|---                         |FIXED
      Known to fail|8.0                         |

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Strangely, I cannot reproduce this warning anymore with GCC 8.  Bisection
points to r220157 (gcc 5.0.0) as the revision that fixed it.  I've added the
test case to the test suite in r254833 and with that I'm resolving this bug as
fixed.  Please reopen it if the problem reappears.


More information about the Gcc-bugs mailing list