]> gcc.gnu.org Git - gcc.git/commit
re PR c++/13971 (ICE when compiling koffice-cvs (in build_conditional_expr, at cp...
authorMark Mitchell <mark@codesourcery.com>
Mon, 16 Feb 2004 02:35:50 +0000 (02:35 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 16 Feb 2004 02:35:50 +0000 (02:35 +0000)
commitd2f2c87b4c80fc59cc03189226d94afc71b7e048
treee0c914da03123321da4758214851911cba25528c
parent2c2ab3acc1b63eea04f29f08a01cd4f463b8b962
re PR c++/13971 (ICE when compiling koffice-cvs (in build_conditional_expr, at cp/call.c:3068))

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.

From-SVN: r77869
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]
This page took 0.062423 seconds and 5 git commands to generate.