diff options
author | Robert Dewar <dewar@adacore.com> | 2006-10-31 19:01:28 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-10-31 19:01:28 +0100 |
commit | cac01ae32bfe8b2a0c868e454a3105f818745eb0 (patch) | |
tree | d1570e776b06742e3b57c6e0e7ceb94a384bca91 /gcc/ada/lib-load.adb | |
parent | 2d6a1685fa6007072522a8531e204ca118854f5b (diff) | |
download | gcc-cac01ae32bfe8b2a0c868e454a3105f818745eb0.zip gcc-cac01ae32bfe8b2a0c868e454a3105f818745eb0.tar.gz gcc-cac01ae32bfe8b2a0c868e454a3105f818745eb0.tar.bz2 |
layout.adb (Layout_Record_Type): Deal with non-static subtypes of variant records
2006-10-31 Robert Dewar <dewar@adacore.com>
* layout.adb (Layout_Record_Type): Deal with non-static subtypes of
variant records
(Layout_Variant_Record): Retrieve the discriminants from the entity
rather than from the type definition, because in the case of a full
type for a private type we need to take the discriminants from the
partial view.
(Layout_Component_List): When applying the Max operator to variants with
a nonstatic size, check whether either operand is static and scale that
operand from bits to storage units before applying Max.
(Layout_Type): In VMS, if a C-convention access type has no explicit
size clause (and does not inherit one in the case of a derived type),
then the size is reset to 32 from 64.
From-SVN: r118283
Diffstat (limited to 'gcc/ada/lib-load.adb')
0 files changed, 0 insertions, 0 deletions