* typeck2.c (readonly_error): Always emit a hard error.
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Mar 2007 08:26:23 +0000 (08:26 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Mar 2007 08:26:23 +0000 (08:26 +0000)
commit2c5924042883834521a1ae86e502c530bb6fb25b
tree000cc4c3d1a6185ba67d53ea6d7b0821022de992
parent3c68d0633e910d128c09aafdba8b8bbcd35be31f
* typeck2.c (readonly_error): Always emit a hard error.
Remove last argument.
* cp-tree.h (readonly_error): Adjust prototype.
* semantics.c (finish_asm_stmt): Adjust call to readonly_error.
* typeck.c (build_unary_op): Likewise.
(build_modify_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122541 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/cp/typeck2.c