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

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Sat Jul 7 10:36:00 GMT 2018


Author: ebotcazou
Date: Sat Jul  7 10:36:54 2018
New Revision: 262498

URL: https://gcc.gnu.org/viewcvs?rev=262498&root=gcc&view=rev
Log:
	* gcc-interface/decl.c (gnat_to_gnu_entity): Add GNAT_DECL local
	variable and use it throughout.
	<E_Variable>: If the nominal subtype of the object is unconstrained,
	compute the Ada size separately and put in on the padding type if the
	size is not fixed.
	<E_Record_Type>: Minor tweak.
	* gcc-interface/misc.c (gnat_type_max_size): Rename max_size_unit
	into max_size_unit throughout.

Added:
    trunk/gcc/testsuite/gnat.dg/stack_usage6.adb
    trunk/gcc/testsuite/gnat.dg/stack_usage6_pkg.ads
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/decl.c
    trunk/gcc/ada/gcc-interface/misc.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list