public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/18204] Legal program rejected, completion of private type declaration
2004-10-28 17:51 [Bug ada/18204] New: Legal program rejected, completion of private type declaration ludovic dot brenta at insalien dot org
@ 2004-10-28 17:51 ` ludovic dot brenta at insalien dot org
2004-10-31 19:30 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-10-28 17:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ludovic dot brenta at insalien dot org 2004-10-28 17:51 -------
Debian bug #278686.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18204
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ada/18204] New: Legal program rejected, completion of private type declaration
@ 2004-10-28 17:51 ludovic dot brenta at insalien dot org
2004-10-28 17:51 ` [Bug ada/18204] " ludovic dot brenta at insalien dot org
2004-10-31 19:30 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 4+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-10-28 17:51 UTC (permalink / raw)
To: gcc-bugs
-- adapted from: A. Imran (me5@privacy.net)
package Test_126 is
task type T1;
type T2 is tagged limited record
x1: T1;
end record;
type T3 is new T2 with private;
type T3_access is access T3; -- line 12
private
type T3 is new T2 with null record; -- line 16
end Test_126;
The program is legal but GCC 3.4.2 says:
test_126.ads:16:05: "T3_Access" conflicts with declaration at line 12
gnatmake: "test_126.ads" compilation error
--
Summary: Legal program rejected, completion of private type
declaration
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=18204
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ada/18204] Legal program rejected, completion of private type declaration
2004-10-28 17:51 [Bug ada/18204] New: Legal program rejected, completion of private type declaration ludovic dot brenta at insalien dot org
2004-10-28 17:51 ` [Bug ada/18204] " ludovic dot brenta at insalien dot org
@ 2004-10-31 19:30 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-31 19:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-31 19:30 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Known to fail| |4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2004-10-31 19:30:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18204
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ada/18204] Legal program rejected, completion of private type declaration
[not found] <bug-18204-286@http.gcc.gnu.org/bugzilla/>
@ 2008-04-12 3:24 ` sam at gcc dot gnu dot org
0 siblings, 0 replies; 4+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 3:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from sam at gcc dot gnu dot org 2008-04-12 03:23 -------
This appears to be fixed in 4.3.0.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to work| |4.3.0
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18204
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-12 3:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 17:51 [Bug ada/18204] New: Legal program rejected, completion of private type declaration ludovic dot brenta at insalien dot org
2004-10-28 17:51 ` [Bug ada/18204] " ludovic dot brenta at insalien dot org
2004-10-31 19:30 ` pinskia at gcc dot gnu dot org
[not found] <bug-18204-286@http.gcc.gnu.org/bugzilla/>
2008-04-12 3:24 ` sam 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).