r260999 - in /trunk/gcc/ada: ChangeLog gcc-inte...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Thu May 31 10:46:00 GMT 2018


Author: pmderodat
Date: Thu May 31 10:46:02 2018
New Revision: 260999

URL: https://gcc.gnu.org/viewcvs?rev=260999&root=gcc&view=rev
Log:
[Ada] Fix strange behavior of Object_Size for packed array subtype

2018-05-31  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

	* gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Do not
	deal with the ___XP suffix for packed array types here...
	<E_Array_Subtype>: ...or here when processing the implementation type
	but when processing the original type instead.  Do not reuse the DECL
	of the implementation type for the original type.  Tidy up.

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



More information about the Gcc-cvs mailing list