From: Ramana Radhakrishnan Date: Wed, 7 Oct 2015 08:37:35 +0000 (+0000) Subject: Fix PR c/65345 for arm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=baba8d7dc75a07b8acb5928b1f8173fe2ad04e49;p=gcc.git Fix PR c/65345 for arm 2015-10-07 Ramana Radhakrishnan 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdef683d37c..e20aa980910 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-10-07 Ramana Radhakrishnan + + 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 * real.h (dconst_quarter, dconst_sixth, dconst_ninth): New macros. diff --git a/gcc/config/arm/arm-builtins.c b/gcc/config/arm/arm-builtins.c index 0f5a1f1aaf8..17cf8e722f1 100644 --- a/gcc/config/arm/arm-builtins.c +++ b/gcc/config/arm/arm-builtins.c @@ -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);