aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-comlin.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-08-04 11:09:53 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-04 11:09:53 +0200
commitfc893455a5c2c9238f077412cf5a0bdc29abed34 (patch)
tree2828113a0adb99fba99fd5be023a012fe6df3036 /gcc/ada/g-comlin.adb
parentb37d5bc62b96ecbd96f409281f8741d40c4d3922 (diff)
downloadgcc-fc893455a5c2c9238f077412cf5a0bdc29abed34.zip
gcc-fc893455a5c2c9238f077412cf5a0bdc29abed34.tar.gz
gcc-fc893455a5c2c9238f077412cf5a0bdc29abed34.tar.bz2
[multiple changes]
2011-08-04 Eric Botcazou <ebotcazou@adacore.com> * layout.adb (Layout_Type): For composite types, do not set Esize. * freeze.adb (Set_Small_Size): Remove test on alignment and do not set Esize. (Size_Known): Look at the RM size of components instead of the Esize. (Freeze_Record_Type): Look at the RM size instead of the Esize to issue warning and activate Implicit_Packing. (Freeze_Entity): Likewise. Do not issue a warning for alias/atomic if the Esize is not known. * sem_ch13.adb (Analyze_Attribute_Definition_Clause) <Size>: Set Esize for elementary types only. (Analyze_Record_Representation_Clause): Look at the RM size instead of the Esize to issue errors. * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set Esize if it is not known. <E_Record_Type>: Look at the RM size instead of the Esize. Remove obsolete block. Look at the RM size instead of the Esize for types if the latter is not known. (gnat_to_gnu_field): Use Known_Esize instead of Known_Static_Esize. 2011-08-04 Ed Schonberg <schonberg@adacore.com> * sem_type.adb: proper handling of equality not involving anonymous access types. From-SVN: r177339
Diffstat (limited to 'gcc/ada/g-comlin.adb')
0 files changed, 0 insertions, 0 deletions