Fix PR c/65345 for arm
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Wed, 7 Oct 2015 08:37:35 +0000 (08:37 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Wed, 7 Oct 2015 08:37:35 +0000 (08:37 +0000)
2015-10-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

PR c/65345
* config/arm/arm-builtins.c (arm_atomic_assign_expand_fenv):
Use create_tmp_var_raw instead of create_tmp_var.

From-SVN: r228562

gcc/ChangeLog
gcc/config/arm/arm-builtins.c

index fdef683d37c0f0b2dd61494305d27ec7424a5619..e20aa980910e31543262c51f69b85a480922bc13 100644 (file)
@@ -1,3 +1,9 @@
+2015-10-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       PR c/65345
+       * config/arm/arm-builtins.c (arm_atomic_assign_expand_fenv):
+       Use create_tmp_var_raw instead of create_tmp_var.
+
 2015-10-07  Richard Sandiford  <richard.sandiford@arm.com>
 
        * real.h (dconst_quarter, dconst_sixth, dconst_ninth): New macros.
index 0f5a1f1aaf8c1e17181218dc6e1225bea960c7f0..17cf8e722f15d859f19deba40de0249ad97f5aa7 100644 (file)
@@ -2974,7 +2974,7 @@ arm_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update)
 
        __builtin_arm_set_fpscr (masked_fenv);  */
 
-  fenv_var = create_tmp_var (unsigned_type_node);
+  fenv_var = create_tmp_var_raw (unsigned_type_node);
   get_fpscr = arm_builtin_decls[ARM_BUILTIN_GET_FPSCR];
   set_fpscr = arm_builtin_decls[ARM_BUILTIN_SET_FPSCR];
   mask = build_int_cst (unsigned_type_node,
@@ -3001,7 +3001,7 @@ arm_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update)
 
        __atomic_feraiseexcept (new_fenv_var);  */
 
-  new_fenv_var = create_tmp_var (unsigned_type_node);
+  new_fenv_var = create_tmp_var_raw (unsigned_type_node);
   reload_fenv = build2 (MODIFY_EXPR, unsigned_type_node, new_fenv_var,
                        build_call_expr (get_fpscr, 0));
   restore_fnenv = build_call_expr (set_fpscr, 1, fenv_var);