A small patch to fix an arm bootstrap failure

Vladimir Makarov vmakarov@redhat.com
Wed Mar 30 16:28:00 GMT 2011


The following patch is to fix an arm bootstrap failure described in

http://gcc.gnu.org/ml/gcc/2011-03/msg00499.html

when variable mode is set but not used because it is used when macro 
HONOR_REG_ALLOC_ORDER is defined.

I found that 2 variables mode in different scopes is defined in function 
assign_hard_reg.  Using only one variable will guarantee usage of the 
variable.

The patch has been committed as obvious after successful bootstrap on 
x86_64.


2011-03-30  Vladimir Makarov <vmakarov@redhat.com>

         * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110330/807398b8/attachment.ksh>


More information about the Gcc-patches mailing list