public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15590] New: Illegal program not detected, RM 10.1.1(14)
@ 2004-05-23 11:25 ludovic dot brenta at insalien dot org
2004-05-23 15:33 ` [Bug ada/15590] " pinskia at gcc dot gnu dot org
2004-06-30 14:15 ` charlet at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-05-23 11:25 UTC (permalink / raw)
To: gcc-bugs
--RM 10.1.1(14)
-- If a defining_program_unit_name of a given declaration or body
-- has a parent_unit_name, then the given declaration or body shall
-- be a library_item.
package pak1 is
generic
procedure ada.text_io.put_line; --ERROR: not a library_item
end pak1;
package body pak1 is
procedure put_line is begin null; end;
end pak1;
with pak1;
procedure main is
procedure p1 is new pak1.put_line;
begin
p1;
end;
$ gnatchop -w p; gnatmake main
splitting p into:
pak1.ads
pak1.adb
main.adb
gcc -c main.adb
gcc -c pak1.adb
gnatbind -x main.ali
gnatlink main.ali
Compilation finished at Wed Apr 14 18:58:34
--
Summary: Illegal program not detected, RM 10.1.1(14)
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=15590
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/15590] Illegal program not detected, RM 10.1.1(14)
2004-05-23 11:25 [Bug ada/15590] New: Illegal program not detected, RM 10.1.1(14) ludovic dot brenta at insalien dot org
@ 2004-05-23 15:33 ` pinskia at gcc dot gnu dot org
2004-06-30 14:15 ` charlet at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-23 15:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15590
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/15590] Illegal program not detected, RM 10.1.1(14)
2004-05-23 11:25 [Bug ada/15590] New: Illegal program not detected, RM 10.1.1(14) ludovic dot brenta at insalien dot org
2004-05-23 15:33 ` [Bug ada/15590] " pinskia at gcc dot gnu dot org
@ 2004-06-30 14:15 ` charlet at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-06-30 14:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2004-06-30 14:04 -------
Fixed in mainline.
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15590
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-30 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 11:25 [Bug ada/15590] New: Illegal program not detected, RM 10.1.1(14) ludovic dot brenta at insalien dot org
2004-05-23 15:33 ` [Bug ada/15590] " pinskia at gcc dot gnu dot org
2004-06-30 14:15 ` charlet 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).