Re: [PATCH] rs6000: Fix rs6000_atomic_assign_expand_fenv [PR94826]

2020-04-29 Thread David Edelsohn via Gcc-patches
On Wed, Apr 29, 2020 at 7:48 AM Jakub Jelinek wrote: > > Hi! > > This is the rs6000 version of the earlier committed x86, aarch64 and arm > fixes, as create_tmp_var_raw is used because the C FE can call this outside > of function context, we need to make sure the first references to those > VAR_DE

[PATCH] rs6000: Fix rs6000_atomic_assign_expand_fenv [PR94826]

2020-04-29 Thread Jakub Jelinek via Gcc-patches
Hi! This is the rs6000 version of the earlier committed x86, aarch64 and arm fixes, as create_tmp_var_raw is used because the C FE can call this outside of function context, we need to make sure the first references to those VAR_DECLs are through a TARGET_EXPR, so that it gets gimple_add_tmp_var m