This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc cp/ChangeLog cp/call.c cp/class.c cp/d ...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 16 Feb 2004 02:35:50 -0000
- Subject: gcc/gcc cp/ChangeLog cp/call.c cp/class.c cp/d ...
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-02-16 02:35:50
Modified files:
gcc/cp : ChangeLog call.c class.c decl.c name-lookup.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/expr: cond4.C
gcc/testsuite/g++.dg/lookup: crash2.C
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3957&r2=1.3958
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.462&r2=1.463
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.600&r2=1.601
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1185&r2=1.1186
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3503&r2=1.3504
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/cond4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/crash2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1