This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15614] New: Illegal program not detected, RM 12.1(11)
- From: "ludovic dot brenta at insalien dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2004 09:55:20 -0000
- Subject: [Bug ada/15614] New: Illegal program not detected, RM 12.1(11)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
generic
package pak1 is
end pak1;
generic
package pak1.pak2 is
end pak1.pak2;
with pak1.pak2;
generic
with package new_pak2 is new pak1.pak2; -- ERROR: illegal use of pak1
package Test_244970 is
end Test_244970;
I was expecting an error message like:
test_244970.adb:11:37: invalid prefix in selected component "pak1"
Instead, the compiler remains silent.
--
Summary: Illegal program not detected, RM 12.1(11)
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ludovic dot brenta at insalien dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15614