diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11d323c..1aff59d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2012-08-11 Uros Bizjak <ubizjak@gmail.com> + * config/alpha/alpha.c (alpha_stdarg_optimize_hook): Shift DECL_UID + in the va_list_vars bitmap by num_ssa_names. + +2012-08-11 Uros Bizjak <ubizjak@gmail.com> + * config/i386/sse.md (xop integer multiply/add insns): Use register_operand for operand 3 predicate. (xop_phadd<u>bq): Fix vec_select selectors. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 2d6ba95..0aab453 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -5942,7 +5942,7 @@ alpha_stdarg_optimize_hook (struct stdarg_info *si, const_gimple stmt) base = get_base_address (base); if (TREE_CODE (base) != VAR_DECL - || !bitmap_bit_p (si->va_list_vars, DECL_UID (base))) + || !bitmap_bit_p (si->va_list_vars, DECL_UID (base) + num_ssa_names)) return false; offset = gimple_op (stmt, 1 + offset_arg); |