decl.c (gnat_to_gnu_entity): Retrofit handling of unconstrained array types as design...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 29 Feb 2016 09:30:09 +0000 (09:30 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 29 Feb 2016 09:30:09 +0000 (09:30 +0000)
commit8ea456b94ac356fd36ba7043195a2d6c65eebfa7
tree481c26d43400bc16ac47441069e21c886bb804a9
parent68ec5613422d80f61d93d493de42397b05f886f6
decl.c (gnat_to_gnu_entity): Retrofit handling of unconstrained array types as designated types into common...

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Retrofit
handling of unconstrained array types as designated types into common
processing.  Also handle array types as incomplete designated types.

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