]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (gnat_to_gnu_entity): Cap the alignment promotion to that of ptr_mode instead...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 26 Sep 2008 20:11:52 +0000 (20:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 26 Sep 2008 20:11:52 +0000 (20:11 +0000)
commitbb3da4f27b9d7241a626695e80edc285561f2506
treed07c6f8831a4d81fa09ec5f6ea14bfb44f9d7b87
parent0da7a284ef2d91cc468145b88893c99e938d5be0
decl.c (gnat_to_gnu_entity): Cap the alignment promotion to that of ptr_mode instead of word_mode.

* decl.c (gnat_to_gnu_entity) <object>: Cap the alignment promotion
to that of ptr_mode instead of word_mode.

From-SVN: r140711
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/static_initializer3.ads
gcc/testsuite/gnat.dg/specs/static_initializer4.ads [new file with mode: 0644]