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.