"David Sherwood" <david.sherw...@arm.com> writes: > Hi Andreas, > > OK, I will fix this.
I installed David's patch below as obvious. Tested on x86_64-linux-gnu. Thanks, Richard gcc/ 2014-10-03 David Sherwood <david.sherw...@arm.com> * ira-int.h (ira_allocno): Mark hard_regno as signed. Index: gcc/ira-int.h =================================================================== --- gcc/ira-int.h 2014-09-30 09:04:23.602162410 +0100 +++ gcc/ira-int.h 2014-10-03 11:09:21.986634891 +0100 @@ -318,7 +318,7 @@ struct ira_allocno number (0, ...) - 2. Value -1 is used for allocnos spilled by the reload (at this point pseudo-register has only one allocno) which did not get stack slot yet. */ - int hard_regno : 16; + signed int hard_regno : 16; /* Allocnos with the same regno are linked by the following member. Allocnos corresponding to inner loops are first in the list (it corresponds to depth-first traverse of the loops). */