This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/14717] New: Ada.Sequential_IO.Read does not work for indefinite arrays.
- From: "krischik at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2004 15:13:14 -0000
- Subject: [Bug ada/14717] New: Ada.Sequential_IO.Read does not work for indefinite arrays.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello,
As I said Ada.Sequential_IO.Read will not work for indefinite arrays. Look a
line 165 ff:
if not Element_Type'Definite
or else Element_Type'Has_Discriminants
then
FIO.Read_Buf
(AP (File), Rsiz'Address, size_t'Size / System.Storage_Unit);
If
--
Summary: Ada.Sequential_IO.Read does not work for indefinite
arrays.
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: krischik at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14717