aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/trans.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-06-26 08:38:38 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-06-26 08:38:38 +0000
commitc0e1e1087bd9bf719d254a6e4b01d4ce061f33c2 (patch)
tree84b7b9a216c4deb10a7def8f4cfe282842c5f7c2 /gcc/ada/gcc-interface/trans.c
parentffa5876ff310c92f033bca4259b6530fbeddbb34 (diff)
downloadgcc-c0e1e1087bd9bf719d254a6e4b01d4ce061f33c2.zip
gcc-c0e1e1087bd9bf719d254a6e4b01d4ce061f33c2.tar.gz
gcc-c0e1e1087bd9bf719d254a6e4b01d4ce061f33c2.tar.bz2
decl.c (gnat_to_gnu_entity): Factor out common predicate.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor out common predicate. Use the maximum to compute the upper bound of the index type only when it is not wider than sizetype. Perform the comparison in the index type for the generic expression. Use real precision to decide whether to generate special types for debugging information. From-SVN: r148964
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions