OSDN Git Service

gcc/testsuite
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2008 17:15:07 +0000 (17:15 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2008 17:15:07 +0000 (17:15 +0000)
commit151e90ccc4ec622c5c4004b25fb90b67171bcc9d
tree9b75142790c70534d0c2159f221893eb16ef3402
parent36fb17058156550631e423817c444f200c235a07
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134989 138bc75d-0d04-0410-961f-82ee72b054a4
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