OSDN Git Service

* c-tree.h (readonly_error): Remove.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Sep 2004 22:52:06 +0000 (22:52 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Sep 2004 22:52:06 +0000 (22:52 +0000)
commit056a8ee62feab192510d52553345a99f7f652e7c
tree25f8a76ac5b8cc292d4354c7806f2ac445779968
parentf04ff8bf6f27a9acd3ea1e3418d0b0990abc5ca4
* c-tree.h (readonly_error): Remove.
* c-typeck (enum lvalue_use): New.
(lvalue_or_else, readonly_error): Use it.  All callers changed.
(readonly_error): Make static.

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

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