[Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM (aarch32)
tnfchris at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 17 15:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641
--- Comment #10 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Fri Nov 17 15:53:51 2017
New Revision: 254878
URL: https://gcc.gnu.org/viewcvs?rev=254878&root=gcc&view=rev
Log:
2017-11-17 Tamar Christina <tamar.christina@arm.com>
PR target/82641
* config/arm/arm.c (arm_valid_target_attribute_rec):
Parse "arch=" and "+<ext>".
(arm_valid_target_attribute_tree): Re-init global options.
(arm_option_override): Make non-static.
(arm_options_perform_arch_sanity_checks): Make errors fatal.
* gcc/config/arm/arm-c.c (__ARM_FEATURE_CMSE): Support undef.
(__ARM_FEATURE_CRC32): Support undef.
* config/arm/arm_acle.h (__ARM_FEATURE_CRC32): Replace with pragma.
* doc/extend.texi (ARM Function Attributes): Add pragma and target.
gcc/testsuite/
2017-11-17 Tamar Christina <tamar.christina@arm.com>
PR target/82641
* gcc.target/arm/pragma_arch_attribute.c: New.
Added:
trunk/gcc/testsuite/gcc.target/arm/pragma_arch_attribute.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.c
trunk/gcc/config/arm/arm_acle.h
trunk/gcc/doc/extend.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list