utils.c (maybe_pad_type): Do not apply adjustment to original size for elementary...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 25 May 2015 21:30:39 +0000 (21:30 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 25 May 2015 21:30:39 +0000 (21:30 +0000)
commitf42dd37fa3903399388c85c7dd0d9d8f5509cf77
tree502fa6bce201997d26c34ad7d2c94b174b22136e
parent1366ba411aced82547671901bf20655b40e3dded
utils.c (maybe_pad_type): Do not apply adjustment to original size for elementary types before issuing...

* gcc-interface/utils.c (maybe_pad_type): Do not apply adjustment to
original size for elementary types before issuing the size warning.

From-SVN: r223657
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/alignment2.ads
gcc/testsuite/gnat.dg/warn11.adb [new file with mode: 0644]