decl.c (gnat_to_gnu_entity): When trying to promote the alignment...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 19 Apr 2008 00:55:49 +0000 (00:55 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 19 Apr 2008 00:55:49 +0000 (00:55 +0000)
commit98ae7998b2bbf138ca92bd8781e33c5f966ed4c6
tree17580a08ec9074d1d2a6bd7ed2c31490d645f751
parent03659b50aeafb325eff0a2151b03c1247084bfcf
decl.c (gnat_to_gnu_entity): When trying to promote the alignment...

* decl.c (gnat_to_gnu_entity) <object>: When trying to promote the
alignment, reset it to zero if it would end up not being greater
than that of the type.

From-SVN: r134461
gcc/ada/ChangeLog
gcc/ada/decl.c