This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27492] [4.0/4.1/4.2 regression] ICE on invalid covariant return type
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2007 19:53:57 -0000
- Subject: [Bug c++/27492] [4.0/4.1/4.2 regression] ICE on invalid covariant return type
- References: <bug-27492-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from simartin at gcc dot gnu dot org 2007-06-27 19:53 -------
Subject: Bug 27492
Author: simartin
Date: Wed Jun 27 19:53:45 2007
New Revision: 126061
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126061
Log:
gcc/cp/
2007-06-27 Simon Martin <simartin@users.sourceforge.net>
PR c++/27492
* decl.c (duplicate_decls): Don't reset DECL_INVALID_OVERRIDER_P for
function decls.
gcc/testsuite/
2007-06-27 Simon Martin <simartin@users.sourceforge.net>
PR c++/27492
* g++.dg/inherit/covariant15.C: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/inherit/covariant15.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/decl.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27492