On Thu, Oct 1, 2015 at 4:49 PM, Marek Polacek <pola...@redhat.com> wrote: > Joseph reminded me that I had forgotten about this patch. As mentioned > here <https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01792.html>, I'm > removing the XFAILs in the tests so people are likely to see new FAILs.
2015-10-06 Uros Bizjak <ubiz...@gmail.com> PR c/65345 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): Use create_tmp_var_raw instead of create_tmp_var. Tested with alpha-linux-gnu crosscompiler on the attached testcase, since native alpha bootstrap currently fails due to PR 67766. Uros.
Index: config/alpha/alpha.c =================================================================== --- config/alpha/alpha.c (revision 228525) +++ config/alpha/alpha.c (working copy) @@ -9765,7 +9765,7 @@ alpha_atomic_assign_expand_fenv (tree *hold, tree __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 __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);