This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc's cpp makes ?: left-associative


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]