c-tree.h (readonly_error): Remove.
authorJoseph Myers <jsm@polyomino.org.uk>
Thu, 30 Sep 2004 22:52:06 +0000 (23:52 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 30 Sep 2004 22:52:06 +0000 (23:52 +0100)
commit9bf242660ab1ea936b677e2268b31c0d6426b6e0
tree25f8a76ac5b8cc292d4354c7806f2ac445779968
parent29e12ba8ca90d773132e59adb730b4093a348028
c-tree.h (readonly_error): Remove.

* 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.

From-SVN: r88362
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]