decl.c (gnat_to_gnu_entity): Do not promote the alignment if this doesn't prevent...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 25 Sep 2011 15:42:00 +0000 (15:42 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 25 Sep 2011 15:42:00 +0000 (15:42 +0000)
commitdea976c48066580dff56c1055027d7398072bfc9
treeded5b46f411df22844abab53b3af309efe8c7a34
parent960dcaf528c16597fc89da7e0fa6ec75038a8e87
decl.c (gnat_to_gnu_entity): Do not promote the alignment if this doesn't prevent BLKmode access to the object.

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not promote
the alignment if this doesn't prevent BLKmode access to the object.

From-SVN: r179167
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/frame_overflow.adb
gcc/testsuite/gnat.dg/frame_overflow.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/addr1.ads