This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/33910] New: gcc Ada doesn't handle address clauses correctly in Ada 83 mode
- From: "dewi dot daniels at silver-software dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2007 15:00:35 -0000
- Subject: [Bug ada/33910] New: gcc Ada doesn't handle address clauses correctly in Ada 83 mode
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc -c -gnat83 test.adb
procedure Test
is
X : INTEGER;
Y : INTEGER;
for Y use at X'ADDRESS;
begin
null;
end Test;
XD-Ada generates the error message,
%ADAC-E-ADRREPNOSYS, (1) No with clause for predefined package SYSTEM applies
to this unit [LRM 10.1.1(4), 13.5(3)]
Ada 83 LRM 13.5 states that package SYSTEM "must be named by a with clause that
applies to the compilation unit in which the address clause occurs".
--
Summary: gcc Ada doesn't handle address clauses correctly in Ada
83 mode
Product: gcc
Version: 3.4.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dewi dot daniels at silver-software dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33910