]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix Put_Image for Multiway_Trees
authorViljar Indus <indus@adacore.com>
Tue, 14 Oct 2025 09:02:13 +0000 (12:02 +0300)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 3 Nov 2025 14:15:17 +0000 (15:15 +0100)
commit43ce88299a47e13927219947e449fd75d649f3fd
treef1300d18fe53eeffb07934f279ab43159a038a2f
parent6a331103e785e132a4e119a2cce13de1579d2ce6
ada: Fix Put_Image for Multiway_Trees

Put_Image should start printing the tree from the Root instead
of the First_Child.

gcc/ada/ChangeLog:

* libgnat/a-cbmutr.adb (Put_Image): Fix the condition and starting point
for printing the tree.
* libgnat/a-cimutr.adb (Put_Image): Likewise.
* libgnat/a-comutr.adb (Put_Image): Likewise.
gcc/ada/libgnat/a-cbmutr.adb
gcc/ada/libgnat/a-cimutr.adb
gcc/ada/libgnat/a-comutr.adb