This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: patch to solve PR37251


The following patch solves the problem.  The problem analysis can be found
in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37251

2008-08-27 Vladimir Makarov <vmakarov@redhat.com>

   PR rtl-opt/37251
   * ira-color.c (push_allocnos_to_stack): Truncate
   removed_splay_allocno_vec.


Index: ira-color.c
===================================================================
--- ira-color.c	(revision 139597)
+++ ira-color.c	(working copy)
@@ -926,6 +926,7 @@ push_allocnos_to_stack (void)
   int cost;
 
   /* Initialize.  */
+  VEC_truncate(ira_allocno_t, removed_splay_allocno_vec, 0);
   for (i = 0; i < ira_reg_class_cover_size; i++)
     {
       cover_class = ira_reg_class_cover[i];

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]