This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44386] builtin_object_size_ assumes a flexible array for a long array in a structure of known length
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2010 18:04:08 -0000
- Subject: [Bug middle-end/44386] builtin_object_size_ assumes a flexible array for a long array in a structure of known length
- References: <bug-44386-11981@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-06-02 18:04 -------
I think this is by design because in C90 and C++98 there is no way to say an
array is a flexible array.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44386