arm: Extend the PR94780 fix to arm
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Apr 2020 10:51:38 +0000 (11:51 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 29 Apr 2020 10:51:38 +0000 (11:51 +0100)
commit1d7ead9cba91533291e0048d22b711ca124e19de
tree67149aba5c8142598c0874f4b8c29d7b0b635aad
parent127abeb2e8448b2932bd52245f055d0c5c4b44a0
arm: Extend the PR94780 fix to arm

Essentially the same fix as for x86.

2020-04-29  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/arm/arm-builtins.c (arm_atomic_assign_expand_fenv): Use
TARGET_EXPR instead of MODIFY_EXPR for the first assignments to
fenv_var and new_fenv_var.
gcc/ChangeLog
gcc/config/arm/arm-builtins.c