Commit 6cb718e4 by Richard Henderson Committed by Richard Henderson

alpha.c (alpha_legitimize_address): Check for TLS_MODEL_NONE.

        * config/alpha/alpha.c (alpha_legitimize_address): Check for
        TLS_MODEL_NONE.
        (alpha_stdarg_optimize_hook): Use DECL_UID with va_list_vars.

From-SVN: r101536
parent 70a9e64b
2005-07-02 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_legitimize_address): Check for
TLS_MODEL_NONE.
(alpha_stdarg_optimize_hook): Use DECL_UID with va_list_vars.
2005-07-02 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/14490
......
......@@ -1046,6 +1046,9 @@ alpha_legitimize_address (rtx x, rtx scratch,
switch (tls_symbolic_operand_type (x))
{
case TLS_MODEL_NONE:
break;
case TLS_MODEL_GLOBAL_DYNAMIC:
start_sequence ();
......@@ -1134,6 +1137,9 @@ alpha_legitimize_address (rtx x, rtx scratch,
emit_insn (gen_rtx_SET (VOIDmode, tp, insn));
}
return gen_rtx_LO_SUM (Pmode, tp, eqv);
default:
gcc_unreachable ();
}
if (local_symbolic_operand (x, Pmode))
......@@ -5779,7 +5785,7 @@ alpha_stdarg_optimize_hook (struct stdarg_info *si, tree lhs, tree rhs)
base = get_base_address (base);
if (TREE_CODE (base) != VAR_DECL
|| !bitmap_bit_p (si->va_list_vars, var_ann (base)->uid))
|| !bitmap_bit_p (si->va_list_vars, DECL_UID (base)))
return false;
offset = TREE_OPERAND (lhs, offset_arg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment