public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/18221] New: Illegal program not detected, access to invisible type RM 8.2(9)
@ 2004-10-29 16:51 ludovic dot brenta at insalien dot org
2004-10-29 17:05 ` [Bug ada/18221] " pinskia at gcc dot gnu dot org
2004-10-30 0:46 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-10-29 16:51 UTC (permalink / raw)
To: gcc-bugs
Debian bug #278831:
package Test_128 is
package inner is
private
type T1;
type T2 is null record;
end inner;
type T1_ptr is access inner.T1; -- line 9 ERROR: gnat mistakenly accepts
type T2_ptr is access inner.T2; -- line 10 ERROR: gnat correctly rejects
end Test_128;
The output from the compiler is:
test_128.ads:10:31: "T2" is not a visible entity of "inner"
gnatmake: "test_128.ads" compilation error
As can be seen, the error at line 9 is not diagnosed.
--
Summary: Illegal program not detected, access to invisible type
RM 8.2(9)
Product: gcc
Version: 3.4.2
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18221
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/18221] Illegal program not detected, access to invisible type RM 8.2(9)
2004-10-29 16:51 [Bug ada/18221] New: Illegal program not detected, access to invisible type RM 8.2(9) ludovic dot brenta at insalien dot org
@ 2004-10-29 17:05 ` pinskia at gcc dot gnu dot org
2004-10-30 0:46 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 17:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-29 17:05 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |accepts-invalid
Known to fail| |4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2004-10-29 17:05:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18221
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/18221] Illegal program not detected, access to invisible type RM 8.2(9)
2004-10-29 16:51 [Bug ada/18221] New: Illegal program not detected, access to invisible type RM 8.2(9) ludovic dot brenta at insalien dot org
2004-10-29 17:05 ` [Bug ada/18221] " pinskia at gcc dot gnu dot org
@ 2004-10-30 0:46 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-30 0:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-30 00:46 -------
*** Bug 18227 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bauhaus at futureapps dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18221
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-30 0:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-29 16:51 [Bug ada/18221] New: Illegal program not detected, access to invisible type RM 8.2(9) ludovic dot brenta at insalien dot org
2004-10-29 17:05 ` [Bug ada/18221] " pinskia at gcc dot gnu dot org
2004-10-30 0:46 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).