NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/44253: gcc's cpp mishandles ?: operator precedence



The following reply was made to PR toolchain/44253; it has been noted by GNATS.

From: David Holland <dholland%eecs.harvard.edu@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/44253: gcc's cpp mishandles ?: operator precedence
Date: Tue, 21 Dec 2010 20:40:03 -0500

    ------
 
 From: "Joseph S. Myers" <joseph%codesourcery.com@localhost>
 To: David Holland <dholland%eecs.harvard.edu@localhost>
 cc: bug-gcc%gnu.org@localhost
 Subject: Re: gcc's cpp makes ?: left-associative
 Date: Mon, 20 Dec 2010 11:52:59 +0000 (UTC)
 
 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@localhost>
 
         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@localhost
 


Home | Main Index | Thread Index | Old Index