https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:b4ace720e004f736f1ee46b374c12f9826aad630

commit r11-128-gb4ace720e004f736f1ee46b374c12f9826aad630
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed May 6 09:40:33 2020 +0200

    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  <ja...@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.

Reply via email to