OSDN Git Service

* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Nov 2003 17:53:04 +0000 (17:53 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Nov 2003 17:53:04 +0000 (17:53 +0000)
commitf6fb23c5486815622b20c3ad1873fb87d936bdd9
tree4bea129d1bd8ed20bd84ac70ac8027d3ce61a527
parentb22489ff7d3fb7681392bb4a54301a882cb0ff77
* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
conditional expressions as lvalues.

testsuite:
* gcc.dg/cond-lvalue-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73273 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cond-lvalue-1.c [new file with mode: 0644]