http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54227

--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2012-08-11 14:18:23 
UTC ---
Patch in testing:

--cut here--
Index: config/alpha/alpha.c
===================================================================
--- config/alpha/alpha.c        (revision 190311)
+++ config/alpha/alpha.c        (working copy)
@@ -5942,7 +5942,7 @@

   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);
--cut here--

Reply via email to