This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc's cpp makes ?: left-associative
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: David Holland <dholland at eecs dot harvard dot edu>
- Cc: bug-gcc at gnu dot org
- Date: Mon, 20 Dec 2010 11:52:59 +0000 (UTC)
- Subject: Re: gcc's cpp makes ?: left-associative
- References: <20101220113016.GA16256@eecs.harvard.edu>
On Mon, 20 Dec 2010, David Holland wrote:
> as well as with the gcc 4.1 used by CentOS and NetBSD. The Debian one
> is unfortunately the latest gcc I have ready access to. However, this
> is obscure enough that I'm assuming nobody else is likely to have
> noticed it in the meantime.
This no longer appears and was probably fixed by:
2008-05-06 Tom Tromey <tromey@redhat.com>
PR preprocessor/35313, PR preprocessor/36088:
* expr.c (optab) <QUERY, COMMA>: Set precedence to 4.
(reduce) <case CPP_QUERY>: Special case CPP_COMMA and CPP_COLON.
--
Joseph S. Myers
joseph@codesourcery.com