This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/9087] Component_Size for packed array returns wrong values
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 20:15:41 -0000
- Subject: [Bug ada/9087] Component_Size for packed array returns wrong values
- References: <20021228152600.9087.adi@drcomp.erfurt.thur.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From laurent at guerby dot net 2004-01-12 20:15 -------
Still present on mailine (and on ACT 5.01a customer compiler BTW).
gcc version 3.4.0 20040112 (experimental)
The following gives a correct and equivalent answer in all cases:
Put_Line (Integer'Image (A.all (1)'Size));
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
Last reconfirmed|2003-05-25 23:40:15 |2004-01-12 20:15:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9087