aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-07-30 23:44:14 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-07-31 00:56:22 +0800
commit2065654435e3d97676366f82b939bc9273382dbe (patch)
tree20ce71cca1b0079b4d715372c2dac33b8955785c /gcc/expr.c
parent45cb789e6adf5d571c574a94b77413c845fed106 (diff)
downloadgcc-2065654435e3d97676366f82b939bc9273382dbe.zip
gcc-2065654435e3d97676366f82b939bc9273382dbe.tar.gz
gcc-2065654435e3d97676366f82b939bc9273382dbe.tar.bz2
mips: Fix up mips_atomic_assign_expand_fenv [PR94780]
Commit message shamelessly copied from 1777beb6b129 by jakub: This function, because it is sometimes called even outside of function bodies, uses create_tmp_var_raw rather than create_tmp_var. But in order for that to work, when first referenced, the VAR_DECLs need to appear in a TARGET_EXPR so that during gimplification the var gets the right DECL_CONTEXT and is added to local decls. gcc/ PR target/94780 * config/mips/mips.c (mips_atomic_assign_expand_fenv): Use TARGET_EXPR instead of MODIFY_EXPR.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions