[Bug c++/26022] [4.2 Regression] ICE with references and virtual functions
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 1 12:25:00 GMT 2006
------- Comment #7 from reichelt at gcc dot gnu dot org 2006-02-01 12:25 -------
Shorter testcase:
================================
struct A
{
A();
virtual A foo() const;
};
void bar()
{
const A& a=A();
a.foo();
}
================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Summary|[4.2 Regression] ice at |[4.2 Regression] ICE with
|cp/cp-objcp-common.c:101 |references and virtual
| |functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26022
More information about the Gcc-bugs
mailing list