diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-12-10 14:20:26 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-12-10 14:20:26 +0000 |
commit | 4816c5938dfb6d9510b43f9223dab24af530e00e (patch) | |
tree | ba520fa5422c9cc016fb1652664a621506caa191 /lto-plugin | |
parent | fee457233eea9e0f2a88273ba3e6b75b9f9b73d9 (diff) | |
download | gcc-4816c5938dfb6d9510b43f9223dab24af530e00e.zip gcc-4816c5938dfb6d9510b43f9223dab24af530e00e.tar.gz gcc-4816c5938dfb6d9510b43f9223dab24af530e00e.tar.bz2 |
c-typeck.c (readonly_error): Delete.
gcc/
* c-typeck.c (readonly_error): Delete.
gcc/c-family/
* c-common.h (readonly_error): Declare.
* c-common.c (readonly_error): Define.
gcc/cp/
* cp-tree.h (readonly_error_kind): Delete.
(readonly_error): Rename to...
(cxx_readonly_error): ...this. Change second argument to be an
enum lvalue_use.
* semantics.c (finish_asm_stmt): Call cxx_readonly_error.
* typeck.c (cp_build_unary_op): Likewise.
(cp_build_modify_expr): Likewise.
* typeck2.c (readonly_error): Rename to...
(cxx_readonly_error): ...this. Delegate to readonly_error for
most cases.
gcc/testsuite/
* gcc.dg/dfp/struct-union.c: Adjust.
* gcc.dg/lvalue-2.c: Adjust.
* gcc.dg/pr21419.c: Adjust.
* gcc.dg/qual-component-1.c: Adjust.
* g++.dg/other/const1.C: Adjust.
From-SVN: r167687
Diffstat (limited to 'lto-plugin')
0 files changed, 0 insertions, 0 deletions