r148964 - in /trunk/gcc: ada/ChangeLog ada/gcc-...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Fri Jun 26 08:38:00 GMT 2009


Author: ebotcazou
Date: Fri Jun 26 08:38:38 2009
New Revision: 148964

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148964
Log:
	* 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.

Added:
    trunk/gcc/testsuite/gnat.dg/array6.adb
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/decl.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list