http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56474
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-02-28 CC| |ebotcazou at gcc dot | |gnu.org Target Milestone|--- |4.8.0 Summary|GNAT computes size of the |[4.8 regression] bogus |object to be allocated |Storage_Error raised for |incorrectly |record containing empty | |zero-based array Ever Confirmed|0 |1 Severity|critical |normal --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-02-28 11:01:37 UTC --- Strange, we would rather lose warnings than issue bogus ones here. In any case, the workaround is easy: use 1-based arrays instead.