This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is this power gcc bug?
You are right, it's my fault.
thanks a lot
Carrot
On Fri, Mar 29, 2013 at 6:33 PM, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Mar 29, 2013 at 04:58:50PM -0700, Carrot Wei wrote:
>> /trunkbin/bin/gcc -c -o rtl.o -DSPEC_CPU -DNDEBUG -I. -O2
>> -DSPEC_CPU_LP64 -m32 rtl.c
>
> You've given contradictory options. -m32 is *not* LP64.
>
>> The left shift count is 32, it is actually less than the width of
>> unsigned long 64.
>
> Nope, unsigned long is 32 bits for -m32.
>
> --
> Alan Modra
> Australia Development Lab, IBM