re PR target/82641 (Unable to enable crc32 for a certain function with target attribu...
authorTamar Christina <tamar.christina@arm.com>
Thu, 7 Dec 2017 14:54:22 +0000 (14:54 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Thu, 7 Dec 2017 14:54:22 +0000 (14:54 +0000)
commit1d8b0222b15f2188b659de4a731d8fd5ea23bed0
treefe2fe58d70ea116377d7bd4621ca28e15299aff3
parent1cc521f1a824b5913aeda06ebe296de98f2d9453
re PR target/82641 (Unable to enable crc32 for a certain function with target attribute on ARM (aarch32))

2017-12-07  Tamar Christina  <tamar.christina@arm.com>

PR target/82641
* config/arm/arm.c (INCLUDE_STRING): Define.
(arm_last_printed_arch_string, arm_last_printed_fpu_string): New.
(arm_declare_function_name): Conservatively emit .arch, .arch_extensions
and .fpu.

gcc/testsuite/
2017-12-07  Tamar Christina  <tamar.christina@arm.com>

PR target/82641
* gcc.target/arm/pragma_arch_attribute_2.c: New.
* gcc.target/arm/pragma_arch_attribute_2.c: New.
* gcc.target/arm/pragma_arch_attribute_3.c: New.
* gcc.target/arm/pragma_fpu_attribute.c: New.
* gcc.target/arm/pragma_fpu_attribute_2.c: New.

From-SVN: r255468
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pragma_arch_attribute_2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pragma_arch_attribute_3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pragma_fpu_attribute.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pragma_fpu_attribute_2.c [new file with mode: 0644]