]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (cannot_be_superflat_p): New predicate.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 26 Jun 2009 08:54:26 +0000 (08:54 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 26 Jun 2009 08:54:26 +0000 (08:54 +0000)
commitf45f9664dcf11042731c9c165aaaf1374ffad4b8
treec5d31602694fa4c3558cefaee6e8b57845307622
parentbcade3954a00a9964783f5ed74be2e2e1991eb41
decl.c (cannot_be_superflat_p): New predicate.

* gcc-interface/decl.c (cannot_be_superflat_p): New predicate.
(gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression
of the upper bound of the index types.

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