Discussion:
[Bug c/56465] Strange warning about variable modified range
mpolacek at gcc dot gnu.org
2014-10-23 18:18:06 UTC
Permalink
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.

Continue reading on narkive:
Loading...