diff options
author | Olivier Hainque <hainque@adacore.com> | 2007-12-07 10:50:23 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2007-12-07 10:50:23 +0000 |
commit | 5a2fe31acfc1f03b8954b1d5358ce8411772423e (patch) | |
tree | 4a1f91a442cfdd5c6bb0f36d7cf1872f25eda846 /libjava | |
parent | 9225443e8ba248edba04c757fb624d9be372e049 (diff) | |
download | gcc-5a2fe31acfc1f03b8954b1d5358ce8411772423e.zip gcc-5a2fe31acfc1f03b8954b1d5358ce8411772423e.tar.gz gcc-5a2fe31acfc1f03b8954b1d5358ce8411772423e.tar.bz2 |
re PR ada/34173 (FAIL: gnat.dg/release_unc_maxalign.adb execution test)
2007-12-07 Olivier Hainque <hainque@adacore.com>
PR ada/34173
* decl.c (gnat_to_gnu_entity) <case E_Array_Type>: When setting
the alignment on the GCC XUA array type, set TYPE_USER_ALIGN if
this is from an alignment clause on the GNAT entity.
* utils.c (create_field_decl): Rewrite the computation of DECL_ALIGN
to distinguish the case where we set it from the type's alignment.
When so, propagate TYPE_USER_ALIGN into DECL_USER_ALIGN to indicate
whether this alignment was set from an explicit alignment clause.
From-SVN: r130673
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions