[Bug rtl-optimization/49890] IRA spill with plenty of available registers

2011-08-18 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49890

Vladimir Makarov  changed:

   What|Removed |Added

 CC||vmakarov at redhat dot com

--- Comment #1 from Vladimir Makarov  2011-08-18 
16:12:45 UTC ---
IRA removes some classes for consideration on the 2nd pass to speed up cost
calculation which is very time consuming.  IRA did it in too optimistic way. 
That is the reason of the problem.

I'll send a patch which removes classes in more conservative way and fixes the
problem.


[Bug rtl-optimization/49890] IRA spill with plenty of available registers

2011-08-18 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49890

--- Comment #2 from Vladimir Makarov  2011-08-18 
17:06:26 UTC ---
Author: vmakarov
Date: Thu Aug 18 17:06:18 2011
New Revision: 177874

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177874
Log:
2011-08-18  Vladimir Makarov  

PR rtl-optimization/49890
* ira-costs.c (setup_regno_cost_classes_by_aclass): Don't exclude
subclasses of class which is superset of a pressure class.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-costs.c


[Bug rtl-optimization/49890] IRA spill with plenty of available registers

2011-08-23 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49890

Pat Haugen  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED

--- Comment #3 from Pat Haugen  2011-08-23 
18:46:21 UTC ---
Fixed