This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix PR 7286
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 6 Jan 2009 02:48:49 +0000 (UTC)
- Subject: Re: RFA: fix PR 7286
- References: <m3k599gssd.fsf@fleche.redhat.com>
On Mon, 5 Jan 2009, Tom Tromey wrote:
> PR 7286 concerns the type of certain decimal integer constants.
>
> According to C99, such a constant is never unsigned, but instead is of
> the next wider type (from int, long, and long long) which can
> represent its value.
Note that this is something that changed in C99; in C90 such constants
(wider than signed long) would be unsigned.
--
Joseph S. Myers
joseph@codesourcery.com