This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is this power gcc bug?
- From: Alan Modra <amodra at gmail dot com>
- To: Carrot Wei <carrot at google dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 30 Mar 2013 12:03:53 +1030
- Subject: Re: Is this power gcc bug?
- References: <CAEe8uECA+8++r00GoUn=+u5vktVzQ0pkwFVcqdTD+KMp_jkpBg at mail dot gmail dot com>
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