Re: [PATCH] x86: Fix up ix86_atomic_assign_expand_fenv [PR94780]

2020-04-27 Thread Uros Bizjak via Gcc-patches
On Mon, Apr 27, 2020 at 8:26 PM Jakub Jelinek wrote: > > Hi! > > 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_

[PATCH] x86: Fix up ix86_atomic_assign_expand_fenv [PR94780]

2020-04-27 Thread Jakub Jelinek via Gcc-patches
Hi! 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_CONT