OSDN Git Service

PR c++/13971
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Feb 2004 02:35:50 +0000 (02:35 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Feb 2004 02:35:50 +0000 (02:35 +0000)
commit49babdb3ba7d9b7902218d14880f3f30e9d6598b
treee0c914da03123321da4758214851911cba25528c
parentb0596c4f3b70788332e9e60d8486040333448cd4
PR c++/13971
* call.c (build_conditional_expr): Handle conversions between
class types which result in differently cv-qualified type
variants.

PR c++/14086
* class.c (delete_duplicate_fields_1): Remove.
(delete_duplicate_fields): Likewise.
(finish_struct_anon): Remove check for members with the same name
as their enclosing class.
(check_field_decls): Do not call duplicate_fields.
* decl.c (grokdeclarator): Remove check for static data members
with the same name as their enclosing class.
* name-lookup.c (push_class_level_binding): Check for members with
the same name as their enclosing class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77869 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/cond4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/crash2.C [new file with mode: 0644]