OSDN Git Service

2007-08-09 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Aug 2007 21:13:30 +0000 (21:13 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Aug 2007 21:13:30 +0000 (21:13 +0000)
commit227d73b492c7629695c3669029bb788f9679149f
treeb8e2cae4b6b7aaaea167906c353dd1247b5b562f
parent5cda8d0df8d4543a2249953d2107f8a21275e16a
2007-08-09  Daniel Berlin  <dberlin@dberlin.org>

* c-typeck.c (readonly_error): Improve error for assignment.

* c-pretty-print.c (pp_c_additive_expression): Handle pointer-plus
expression.
(pp_c_expression): Ditto.
2007-08-09  Daniel Berlin  <dberlin@dberlin.org>

* typeck2.c (readonly_error): Handle general expressions.
* error.c (dump_expr): Handle POINTER_PLUS_EXPR

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127320 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-pretty-print.c
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/typeck2.c
gcc/testsuite/gcc.dg/readonly-loc.c [new file with mode: 0644]