This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[MIPS,committed] Use create_tmp_var_raw in mips_atomic_assign_expand_fenv
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: "'gcc-patches at gcc dot gnu dot org' (gcc-patches at gcc dot gnu dot org)" <gcc-patches at gcc dot gnu dot org>
- Cc: "Moore, Catherine (Catherine_Moore at mentor dot com)" <Catherine_Moore at mentor dot com>
- Date: Tue, 9 Aug 2016 12:40:11 +0000
- Subject: [MIPS,committed] Use create_tmp_var_raw in mips_atomic_assign_expand_fenv
- Authentication-results: sourceware.org; auth=none
I have applied the MIPS specific fix for PR65345. It is a mechanical
change. This fixes the MIPS failures in atomic/pr65345-4.c.
gcc/
PR c/65345
* config/mips/mips.c (mips_atomic_assign_expand_fenv):
Use create_tmp_var_raw instead of create_tmp_var.
Thanks,
Matthew
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 57b7633..88f4038 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -21991,9 +21991,9 @@ mips_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update)
{
if (!TARGET_HARD_FLOAT_ABI)
return;
- tree exceptions_var = create_tmp_var (MIPS_ATYPE_USI);
- tree fcsr_orig_var = create_tmp_var (MIPS_ATYPE_USI);
- tree fcsr_mod_var = create_tmp_var (MIPS_ATYPE_USI);
+ tree exceptions_var = create_tmp_var_raw (MIPS_ATYPE_USI);
+ tree fcsr_orig_var = create_tmp_var_raw (MIPS_ATYPE_USI);
+ tree fcsr_mod_var = create_tmp_var_raw (MIPS_ATYPE_USI);
tree get_fcsr = mips_builtin_decls[MIPS_GET_FCSR];
tree set_fcsr = mips_builtin_decls[MIPS_SET_FCSR];
tree get_fcsr_hold_call = build_call_expr (get_fcsr, 0);