This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/39762] [4.4/4.5 Regression] IRA ICE with -msoft-float



------- Comment #1 from vmakarov at redhat dot com  2009-04-15 21:49 -------
The compiler is broken in IRA on this test because ira_register_move_cost is
not initialized for DFmode, AREG, GENERAL_REGS.

It is supposed that all necessary elements of this array are initialized in
ira-costs.c by ira_init_register_move_cost but it was not done for this mode
and reg classes for some reasons.  I think that the elements should be checked
for initialization every time when we need their values.  It would be a tiny
performance penalty but it will guarantee that such situation will be not
occurred anymore.

I'll send a patch soon.


-- 


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


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