public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/16101] New: Illegal program not detected, pragma Convention after freeze
@ 2004-06-20 11:37 ludovic dot brenta at insalien dot org
2004-06-20 16:42 ` [Bug ada/16101] " pinskia at gcc dot gnu dot org
2004-10-29 17:26 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-06-20 11:37 UTC (permalink / raw)
To: gcc-bugs
package Test_248687 is
procedure p1;
procedure p2 renames p1;
type T is access procedure;
x: T := p2'access; -- p2'access freezes p1 & p2 with convention = Ada
pragma Convention(C, p1); --ERROR: convention applied after p1 frozen
end Test_248687;
I expect:
test_248687.adb:6:10: "p1" is already frozen
Instead I get:
cannot generate code for file test_248687.ads (package spec)
to check package spec for errors, use -gnatc
gnatmake: "test_248687.ads" compilation error
With gcc -c -gnatc I get nothing.
--
Summary: Illegal program not detected, pragma Convention after
freeze
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16101
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/16101] Illegal program not detected, pragma Convention after freeze
2004-06-20 11:37 [Bug ada/16101] New: Illegal program not detected, pragma Convention after freeze ludovic dot brenta at insalien dot org
@ 2004-06-20 16:42 ` pinskia at gcc dot gnu dot org
2004-10-29 17:26 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-20 16:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16101
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/16101] Illegal program not detected, pragma Convention after freeze
2004-06-20 11:37 [Bug ada/16101] New: Illegal program not detected, pragma Convention after freeze ludovic dot brenta at insalien dot org
2004-06-20 16:42 ` [Bug ada/16101] " pinskia at gcc dot gnu dot org
@ 2004-10-29 17:26 ` 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:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-29 17:26 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2004-10-29 17:26:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16101
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-29 17:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-20 11:37 [Bug ada/16101] New: Illegal program not detected, pragma Convention after freeze ludovic dot brenta at insalien dot org
2004-06-20 16:42 ` [Bug ada/16101] " pinskia at gcc dot gnu dot org
2004-10-29 17:26 ` 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).