This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/29015] Ada 2005 observer pattern with mutually dependent packages and containers produces compiler error
- From: "sam at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2008 20:40:46 -0000
- Subject: [Bug ada/29015] Ada 2005 observer pattern with mutually dependent packages and containers produces compiler error
- References: <bug-29015-9737@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from sam at gcc dot gnu dot org 2008-04-09 20:40 -------
Yes, the bug manifests when the view on the type is limited at this point *but*
we know the underlying type (because of a non-limited with for example). This
triggers it if you compile p2.adb:
package P1 is
type T is null record;
end P1;
limited with P1;
package P2 is
pragma Elaborate_Body;
generic
type T is private;
package G is end G;
package I1 is new G (P1.T);
end P2;
with P1;
package body P2 is end P2;
I'm testing a fix.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-12-07 14:01:58 |2008-04-09 20:40:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29015