[Patch ARM] Fix PR71778
authorJames Greenhalgh <james.greenhalgh@arm.com>
Fri, 16 Jun 2017 17:29:56 +0000 (17:29 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 16 Jun 2017 17:29:56 +0000 (17:29 +0000)
commit56960fd6d17aa4dcec9e8e261389337374cc738f
treec7a6d44001848a887fd3d9e59e0a80f00b70f604
parentec73e54d0a0d2f14f1bde8f30bdb4c089dd19857
[Patch ARM] Fix PR71778

gcc/

PR target/71778
* config/arm/arm-builtins.c (arm_expand_builtin_args): Return TARGET
if given a non-constant argument for an intrinsic which requires a
constant.

gcc/testsuite/

PR target/71778
* gcc.target/arm/pr71778.c: New.

From-SVN: r249272
gcc/ChangeLog
gcc/config/arm/arm-builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr71778.c [new file with mode: 0644]