r267005 - in /trunk/gcc/ada: ChangeLog einfo.ad...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Tue Dec 11 11:11:00 GMT 2018


Author: pmderodat
Date: Tue Dec 11 11:11:31 2018
New Revision: 267005

URL: https://gcc.gnu.org/viewcvs?rev=267005&root=gcc&view=rev
Log:
[Ada] Fix elaboration of record with 1-element dynamic array

2018-12-11  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

	* einfo.ads (Is_Bit_Packed_Array): Fix values of component size.
	(Is_Packed): Likewise.
	* gcc-interface/utils.c (convert): Do not extract the value of a
	justified modular type if the destination type is a regular
	array.
	* gcc-interface/decl.c (gnat_to_gnu_component_type): Pass
	TYPE_DECL to validate_size wherever the array has packed
	components.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/einfo.ads
    trunk/gcc/ada/gcc-interface/decl.c
    trunk/gcc/ada/gcc-interface/utils.c



More information about the Gcc-cvs mailing list