gcc's cpp makes ?: left-associative
Joseph S. Myers
joseph@codesourcery.com
Mon Dec 20 11:54:00 GMT 2010
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
More information about the Gcc-bugs
mailing list