This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Traditional numbers
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: Traditional numbers
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 31 Jul 2001 01:29:14 +0100 (BST)
- cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, <gcc at gcc dot gnu dot org>
On Mon, 30 Jul 2001, Richard Henderson wrote:
> On Fri, Jul 27, 2001 at 06:35:48PM +0100, Neil Booth wrote:
> > Does the list agree that the above behaviour is a bug?
>
> Probably. I suspect that cpp arithmetic should be done
> as for target long, not host uintmax_t for -traditional.
It should also be done as target long / unsigned long for C89 and C++98.
--
Joseph S. Myers
jsm28@cam.ac.uk