decl.c (gnat_to_gnu_param): Do not strip the padding if the parameter either is passe...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 8 Feb 2015 10:12:38 +0000 (10:12 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 8 Feb 2015 10:12:38 +0000 (10:12 +0000)
commit57f4f0d5f662eec0aa38ac0f554262ce072a8eeb
tree0051b78ac611dff575529484aa1235a96db8faa9
parent86ceee8522f4877bd76cd1848e7b39a9b1ce98ce
decl.c (gnat_to_gnu_param): Do not strip the padding if the parameter either is passed by reference or if...

* gcc-interface/decl.c (gnat_to_gnu_param): Do not strip the padding
if the parameter either is passed by reference or if the alignment
would be lowered.

From-SVN: r220514
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/addr7.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/addr7.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/addr8.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/addr8.ads [new file with mode: 0644]