[patch] Iterator-style EXECUTE_IF_SET_IN_BITMAP macros

Andrew Pinski pinskia@physics.uc.edu
Mon Sep 27 22:21:00 GMT 2004


On Sep 27, 2004, at 4:10 PM, Michael Matz wrote:

> Hi,
>
> On Sun, 26 Sep 2004, Zdenek Dvorak wrote:
>
>> Zdenek
>>
>> 	* bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP,
>> 	EXECUTE_IF_AND_IN_BITMAP): Changed to iterator style.
>
> This patch breaks bootstrap on platforms which don't mask the shift 
> value,
> in particular ppc(64).  The problem is the too large shift value used 
> in
> some right shifts.  The patch below cures this problem (the runtime 
> libs
> can be compiled on ppc64 at least, which is where the breakage happens.
>
> The patch is in testing on amd64 right now (it seems my binutils are 
> too
> old to bootstrap gcc on the ppc machine, at least I get those strange 
> dot
> symbols, and segfaults of ld and mixed 32 and 64 bit objects).
>
> I don't expect testing to finish during my waking hours today.

This fixes the problem for me.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list