This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22604] [4.0/4.1 Regression] ICE after invalid covariant return
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2005 13:11:58 -0000
- Subject: [Bug c++/22604] [4.0/4.1 Regression] ICE after invalid covariant return
- References: <20050722033716.22604.flash@pobox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-25 13:11 -------
Here's an example that only contains one error:
==============================================
struct A;
struct B
{
virtual A* foo();
};
namespace N
{
struct A : B
{
virtual A* foo(); // should be ::A*
};
}
==============================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Summary|[4.0/4.1 Regression] |[4.0/4.1 Regression] ICE
|"internal compiler error" |after invalid covariant
|after invalid covariant |return
|return |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22604