re PR middle-end/89544 (Argument marshalling incorrectly assumes stack slots are...
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 20 Aug 2019 05:32:49 +0000 (05:32 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Tue, 20 Aug 2019 05:32:49 +0000 (05:32 +0000)
commit1bcec8dfa3d11438ec654df7879ad76bd19e07c6
tree2d069013d7f5071eb1bc59d0c51569206499b556
parent876013aa4107cedcb47533e52be8e757a6ff6495
re PR middle-end/89544 (Argument marshalling incorrectly assumes stack slots are naturally aligned.)

2019-08-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/89544
        * function.c (assign_parm_find_stack_rtl): Use larger alignment
        when possible.

testsuite:
2019-08-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/89544
        * gcc.target/arm/unaligned-argument-1.c: New test.
        * gcc.target/arm/unaligned-argument-2.c: New test.

From-SVN: r274691
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/unaligned-argument-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/unaligned-argument-2.c [new file with mode: 0644]