S/390 Vector ABI GNU Attribute.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 24 Jun 2015 06:36:46 +0000 (06:36 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 24 Jun 2015 06:36:46 +0000 (06:36 +0000)
commit45901378cdf6b6c275e0f7553b8b6f8c76b417d4
tree1dc0d37c5782af35011ad84bf3a3235d9aeea5e7
parent5a5c3debfede40be3bdfd5c03a4dbb3ad2d6db21
S/390 Vector ABI GNU Attribute.

gcc/
* config/s390/s390.c (s390_vector_abi): New variable definition.
(s390_check_type_for_vector_abi): New function.
(TARGET_ASM_FILE_END): New macro definition.
(s390_asm_file_end): New function.
(s390_function_arg): Call s390_check_type_for_vector_abi.
(s390_gimplify_va_arg): Likewise.
* configure: Regenerate.
* configure.ac: Check for .gnu_attribute Binutils feature.

gcc/testsuite/
* gcc.target/s390/vector/vec-abi-1.c: Add gnu attribute check.
* gcc.target/s390/vector/vec-abi-attr-1.c: New test.
* gcc.target/s390/vector/vec-abi-attr-2.c: New test.
* gcc.target/s390/vector/vec-abi-attr-3.c: New test.
* gcc.target/s390/vector/vec-abi-attr-4.c: New test.
* gcc.target/s390/vector/vec-abi-attr-5.c: New test.
* gcc.target/s390/vector/vec-abi-attr-6.c: New test.

From-SVN: r224867
12 files changed:
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/configure
gcc/configure.ac
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/vector/vec-abi-1.c
gcc/testsuite/gcc.target/s390/vector/vec-abi-attr-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/vector/vec-abi-attr-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/vector/vec-abi-attr-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/vector/vec-abi-attr-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/vector/vec-abi-attr-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/vector/vec-abi-attr-6.c [new file with mode: 0644]