re PR target/77728 (Miscompilation multiple vector iteration on ARM)
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Apr 2017 07:13:10 +0000 (09:13 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 27 Apr 2017 07:13:10 +0000 (09:13 +0200)
commit985b839307f824880481ed840c4431bbae440073
treeb0ae763702ee9de1dcb2ab8963ab52ef999a400a
parentdb125f9e091a2088fe8d4e6132abe9c7c65edf37
re PR target/77728 (Miscompilation multiple vector iteration on ARM)

PR target/77728
* config/aarch64/aarch64.c (struct aarch64_fn_arg_alignment): Remove.
(aarch64_function_arg_alignment): Return unsigned int again, but still
ignore TYPE_FIELDS chain decls other than FIELD_DECLs.
(aarch64_layout_arg): Adjust aarch64_function_arg_alignment caller.
Don't emit -Wpsabi note.
(aarch64_function_arg_boundary): Likewise.
(aarch64_gimplify_va_arg_expr): Adjust aarch64_function_arg_alignment
caller.
testsuite/
* g++.dg/abi/pr77728-2.C: Don't expect -Wpsabi notes.

From-SVN: r247292
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/pr77728-2.C