PR preprocessor/35313, PR preprocessor/36088:
authorTom Tromey <tromey@redhat.com>
Tue, 6 May 2008 17:15:07 +0000 (17:15 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 6 May 2008 17:15:07 +0000 (17:15 +0000)
commit71c10038d1739414c587d2d88cd858b213bd1453
tree9b75142790c70534d0c2159f221893eb16ef3402
parent3c3f4265021e8940d6a57234b7f70b0dbbc05b3a
PR preprocessor/35313, PR preprocessor/36088:

gcc/testsuite
PR preprocessor/35313, PR preprocessor/36088:
* gcc.dg/cpp/pr35313.c: New file.
* gcc.dg/cpp/if-oppr.c: Remove test for ',' in a conditional
expression.
* gcc.dg/cpp/if-oppr2.c: New file.
libcpp
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.

From-SVN: r134989
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/if-oppr.c
gcc/testsuite/gcc.dg/cpp/if-oppr2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pr35313.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/expr.c