From 0711992144a5d8f06a4f174786f8344917c9d707 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 6 Oct 2015 17:31:11 +0200 Subject: [PATCH] re PR c/65345 (ICE with _Generic selection on _Atomic int) PR c/65345 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): Use create_tmp_var_raw instead of create_tmp_var. From-SVN: r228527 --- gcc/ChangeLog | 6 ++++++ gcc/config/alpha/alpha.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 89e3bafccad..476e2ef64c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-10-06 Uros Bizjak + + PR c/65345 + * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): Use + create_tmp_var_raw instead of create_tmp_var. + 2015-10-06 Ramana Radhakrishnan PR c/65345 diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index eb2ae5f45ee..b2fbcf97bc1 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -9765,7 +9765,7 @@ alpha_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update) __ieee_set_fp_control (masked_fenv); */ - fenv_var = create_tmp_var (long_unsigned_type_node); + fenv_var = create_tmp_var_raw (long_unsigned_type_node); get_fpscr = build_fn_decl ("__ieee_get_fp_control", build_function_type_list (long_unsigned_type_node, NULL)); @@ -9794,7 +9794,7 @@ alpha_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update) __atomic_feraiseexcept (new_fenv_var); */ - new_fenv_var = create_tmp_var (long_unsigned_type_node); + new_fenv_var = create_tmp_var_raw (long_unsigned_type_node); reload_fenv = build2 (MODIFY_EXPR, long_unsigned_type_node, new_fenv_var, build_call_expr (get_fpscr, 0)); restore_fnenv = build_call_expr (set_fpscr, 1, fenv_var); -- 2.30.2