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; 5+ 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] 5+ 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; 5+ 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] 5+ 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; 5+ 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] 5+ messages in thread
[parent not found: <bug-18221-4@http.gcc.gnu.org/bugzilla/>]
* [Bug ada/18221] Illegal program not detected, access to invisible type RM 8.2(9) [not found] <bug-18221-4@http.gcc.gnu.org/bugzilla/> @ 2011-08-31 13:30 ` nicolas.boulenguez at free dot fr 2014-02-27 18:48 ` nicolas.boulenguez at free dot fr 1 sibling, 0 replies; 5+ messages in thread From: nicolas.boulenguez at free dot fr @ 2011-08-31 13:30 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18221 nicolas.boulenguez at free dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicolas.boulenguez at free | |dot fr --- Comment #3 from nicolas.boulenguez at free dot fr 2011-08-31 13:07:28 UTC --- Found 4.6.1. I suggest to provide a body, so that there is no other illegality. package Test_128 is package inner is private type T1; end inner; type T1_ptr is access inner.T1; -- line 9 ERROR: gnat mistakenly accepts end Test_128; package body test_128 is package body inner is type T1 is new Integer; end inner; end Test_128; ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/18221] Illegal program not detected, access to invisible type RM 8.2(9) [not found] <bug-18221-4@http.gcc.gnu.org/bugzilla/> 2011-08-31 13:30 ` nicolas.boulenguez at free dot fr @ 2014-02-27 18:48 ` nicolas.boulenguez at free dot fr 1 sibling, 0 replies; 5+ messages in thread From: nicolas.boulenguez at free dot fr @ 2014-02-27 18:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18221 --- Comment #4 from nicolas.boulenguez at free dot fr --- Found in 4.9-20140218 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-02-27 18:48 UTC | newest] Thread overview: 5+ 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 [not found] <bug-18221-4@http.gcc.gnu.org/bugzilla/> 2011-08-31 13:30 ` nicolas.boulenguez at free dot fr 2014-02-27 18:48 ` nicolas.boulenguez at free dot fr
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).