Before this patch, the only formal doubly linked lists were bounded and
definite. This means that it is necessary to provide their maximum
length or capacity at instantiation and that they can only be used with
definite element types.

The formal lists added by this patch are unbounded and indefinite.
Their length grows dynamically until Count_Type'Last. This makes them
easier to use but requires the use of dynamic allocation and controlled
types.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

        * libgnat/a-cfidll.adb, libgnat/a-cfidll.ads: Implementation
        files of the formal unbounded indefinite list.
        * Makefile.rtl, impunit.adb: Take into account the add of the
        new files.

Attachment: patch.diff.gz
Description: application/gzip

Reply via email to