re PR target/92904 (varargs for __int128 is placed at an unaligned location and uses...
authorJakub Jelinek <jakub@redhat.com>
Fri, 13 Dec 2019 00:09:34 +0000 (01:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 13 Dec 2019 00:09:34 +0000 (01:09 +0100)
commit46f3e52e834ab0c06902e7424e57513ee6a8aacd
tree33d98955ff15abf7eb2f742fdd31c20447e0510e
parent5e4bb241476d2cd81fc1dac1bede902d3dd9c1e3
re PR target/92904 (varargs for __int128 is placed at an unaligned location and uses movdqa for the load)

PR target/92904
* config/i386/i386.c (ix86_gimplify_va_arg): If need_intregs and
not need_temp, decrease alignment of the read because the GPR save
area only guarantees 8-byte alignment.

* gcc.c-torture/execute/pr92904.c: New test.

From-SVN: r279327
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr92904.c [new file with mode: 0644]