Re: [PATCH] make assign_hard_reg's saved_nregs conditional to unbreak ARM bootstrap (PR50146)

2011-08-22 Thread Jakub Jelinek
On Mon, Aug 22, 2011 at 09:46:17AM +0200, Mikael Pettersson wrote: > Patch was pre-approved by Vladimir Makarov in the PR trail, but I don't > have svn write access so I'll need help to commit it. Committed, thanks. Jakub

[PATCH] make assign_hard_reg's saved_nregs conditional to unbreak ARM bootstrap (PR50146)

2011-08-22 Thread Mikael Pettersson
As described in PR50146, a recent change to ira-color.c caused trunk to fail to bootstrap on ARM. The issue is that a new variable saved_nregs is declared unconditionally but used #ifndef HONOR_REG_ALLOC_ORDER. Since the ARM backend defines HONOR_REG_ALLOC_ORDER, an 'unused variable' warning resu