re PR target/65837 ([arm-linux-gnueabihf] lto1 target specific builtin not available)
authorChristian Bruel <christian.bruel@st.com>
Mon, 16 Nov 2015 10:21:09 +0000 (11:21 +0100)
committerChristian Bruel <chrbr@gcc.gnu.org>
Mon, 16 Nov 2015 10:21:09 +0000 (11:21 +0100)
commitc91062822060a9cab744b3d10fda6456822740aa
treeee314e0dd14d265464bb96c6e9abbc167b1599e8
parentf39cdf66d6e7f9b42b9339315aabfea40af44460
re PR target/65837 ([arm-linux-gnueabihf] lto1 target specific builtin not available)

2015-11-16  Christian Bruel  <christian.bruel@st.com>

PR target/65837
* config/arm/arm-c.c (arm_cpu_builtins): Set or reset
__ARM_FEATURE_CRYPTO, __VFP_FP__, __ARM_NEON__
(arm_pragma_target_parse): Change check for arm_cpu_builtins.
undefine __ARM_FP.
* config/arm/arm.c (arm_can_inline_p): Check FPUs.
(arm_valid_target_attribute_rec): Handle -mfpu attribute target.
* doc/invoke.texi (-mfpu=): Mention attribute and pragma.
* doc/extend.texi (-mfpu=): Describe attribute.

2015-11-16  Christian Bruel  <christian.bruel@st.com>

PR target/65837
gcc.target/arm/lto/pr65837_0.c
gcc.target/arm/attr-neon2.c
gcc.target/arm/attr-neon.c
gcc.target/arm/attr-neon-builtin-fail.c
gcc.target/arm/attr-crypto.c

From-SVN: r230408
gcc/ChangeLog
gcc/config/arm/arm-c.c
gcc/config/arm/arm.c
gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/attr-crypto.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/attr-neon.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/attr-neon2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/lto/pr65837_0.c [new file with mode: 0644]