[Bug c/56465] Strange warning about variable modified range

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 23 18:25:00 GMT 2014


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think the warning is correct here; the array size is not an integer constant
expression, only something that's been folded to a constant.



More information about the Gcc-bugs mailing list