diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-05-06 09:40:33 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-05-06 09:40:33 +0200 |
commit | b4ace720e004f736f1ee46b374c12f9826aad630 (patch) | |
tree | d5586818acce882d5f7ed57417f60b3117506be8 /gcc/config.gcc | |
parent | f14848aea70066777faf201c0b6eb3c5520bfab9 (diff) | |
download | gcc-b4ace720e004f736f1ee46b374c12f9826aad630.zip gcc-b4ace720e004f736f1ee46b374c12f9826aad630.tar.gz gcc-b4ace720e004f736f1ee46b374c12f9826aad630.tar.bz2 |
riscv: Fix up riscv_atomic_assign_expand_fenv [PR94950]
Similarly to the fixes on many other targets, riscv needs to use TARGET_EXPR
to avoid having the create_tmp_var_raw temporaries without proper DECL_CONTEXT
and not mentioned in local decls.
2020-05-06 Jakub Jelinek <jakub@redhat.com>
PR target/94950
* config/riscv/riscv-builtins.c (riscv_atomic_assign_expand_fenv): Use
TARGET_EXPR instead of MODIFY_EXPR for first assignment to old_flags.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions