This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A long long int bug
- To: "H.J. Lu" <hjl at lucon dot org>
- Subject: Re: A long long int bug
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 27 Feb 1998 10:56:00 -0800
- Cc: egcs at cygnus dot com
- References: <m0y8FxA-00058fC@ocean.lucon.org>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Thu, Feb 26, 1998 at 06:55:12PM -0800, H.J. Lu wrote:
> foo.c:7: warning: left shift count >= width of type
> x = 1UL << 33UL;
> if (x == 0)
> abort ();
Not a bug. Use 1ULL.
r~