------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-01-22 00:42 ------- Subject: Bug 25895
Author: mmitchel Date: Sun Jan 22 00:41:58 2006 New Revision: 110083 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110083 Log: PR c++/25895 * class.c (build_base_path): Generate a NOP_EXPR instead of a COMPONENT_REF if the base and derived classes are at the same address. PR c++/25856 * decl.c (begin_destructor_body): Robustify. PR c++/25858 * parser.c (cp_parser_direct_declarator): Robustify. PR c++/25895 * g++.dg/inherit/conv2.C: New test. PR c++/25856 * g++.dg/parse/dtor7.C: New test. PR c++/25858 * g++.dg/template/crash44.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/inherit/conv2.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/dtor7.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash44.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/class.c branches/gcc-4_1-branch/gcc/cp/decl.c branches/gcc-4_1-branch/gcc/cp/parser.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25895