This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/53323] assertion failure on indefinite array of controlled objects and storage pools
- From: "simon at pushface dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Mar 2013 09:36:44 +0000
- Subject: [Bug ada/53323] assertion failure on indefinite array of controlled objects and storage pools
- Auto-submitted: auto-generated
- References: <bug-53323-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53323
--- Comment #2 from simon at pushface dot org 2013-03-20 09:36:44 UTC ---
Still fails on 4.8.
However: package Indefinite_Dynamic begins
generic
type Item (<>) is private;
type Item_Ptr is access Item;
Storage : in out System.Storage_Pools.Root_Storage_Pool'Class;
Initial_Size : Positive := 10;
package Indefinite_Dynamic is
and I find that the problem goes away if I move the formal parameters around so
that Storage is the last parameter.