From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 311 invoked by alias); 15 Apr 2009 21:49:51 -0000 Received: (qmail 32722 invoked by uid 48); 15 Apr 2009 21:49:33 -0000 Date: Wed, 15 Apr 2009 21:49:00 -0000 Message-ID: <20090415214933.32721.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/39762] [4.4/4.5 Regression] IRA ICE with -msoft-float In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vmakarov at redhat dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg01290.txt.bz2 ------- 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