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]

Fix find_moveable_pseudos, PR52997


We're creating new pseudos, and while we're resizing some data structures, we aren't doing it for everything.

Bootstrapped and tested on i686-linux, committed as obvious.


Bernd
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 186874)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2012-04-26  Bernd Schmidt  <bernds@codesourcery.com>
+
+	* PR middle-end/52997
+	* ira.c (find_moveable_pseudos): Call resize_reg_info.
+
 2012-04-26  David S. Miller  <davem@davemloft.net>
 
 	* config/sparc/niagara4.md: New file.
Index: ira.c
===================================================================
--- ira.c	(revision 186712)
+++ ira.c	(working copy)
@@ -3983,7 +3983,8 @@ find_moveable_pseudos (void)
 
   last_moveable_pseudo = max_reg_num ();
 
-  fix_reg_equiv_init();
+  fix_reg_equiv_init ();
+  resize_reg_info ();
   regstat_free_n_sets_and_refs ();
   regstat_free_ri ();
   regstat_init_n_sets_and_refs ();

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