decl.c (Gigi_Equivalent_Type): New case.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 11 Oct 2019 08:33:03 +0000 (08:33 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 11 Oct 2019 08:33:03 +0000 (08:33 +0000)
commit43b60e578393cc58f1d75387b811cc90bc74297b
tree23e1408fc88f516c0134fab884a79f2b079af7da
parent104099b897fe28c5d28b81a83d7655ea3b91c0c8
decl.c (Gigi_Equivalent_Type): New case.

* gcc-interface/decl.c (Gigi_Equivalent_Type) <E_Array_Subtype>: New
case.  Return the base type if the subtype is not constrained.

From-SVN: r276865
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/array38.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array38_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array38_pkg.ads [new file with mode: 0644]