[Ada] General purpose doubly linked list for compiler and tool use
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 21 Aug 2018 14:45:49 +0000 (14:45 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 21 Aug 2018 14:45:49 +0000 (14:45 +0000)
commit2201fa7bd34d215e4aeeb961d41f60f3fb80f101
treecb36eda183a044c293786c8783b0e9c4064218ea
parentc36d21ee42349ea0e8565daa2013ba4f193d4ffe
[Ada] General purpose doubly linked list for compiler and tool use

This patch adds unit GNAT.Lists which currently contains the
implementation of a general purpose doubly linked list intended for use
by the compiler and the tools around it.

2018-08-21  Hristian Kirtchev  <kirtchev@adacore.com>

gcc/ada/

* impunit.adb: Add g-lists to the set of non-implementation
units.
* libgnat/g-lists.adb, libgnat/g-lists.ads: New unit.
* Makefile.rtl: Add g-lists to the set of non-tasking units.
* gcc-interface/Make-lang.in: Add g-lists to the set of files
used by gnat1.

gcc/testsuite/

* gnat.dg/linkedlist.adb: New testcase.

From-SVN: r263714
gcc/ada/ChangeLog
gcc/ada/Makefile.rtl
gcc/ada/gcc-interface/Make-lang.in
gcc/ada/impunit.adb
gcc/ada/libgnat/g-lists.adb [new file with mode: 0644]
gcc/ada/libgnat/g-lists.ads [new file with mode: 0644]
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/linkedlist.adb [new file with mode: 0644]