This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13170] [3.4 Regression] ICE in build_base_path
- 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: 3 Dec 2003 22:11:31 -0000
- Subject: [Bug c++/13170] [3.4 Regression] ICE in build_base_path
- References: <20031124041051.13170.ron_hylton@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-12-03 22:11 -------
Here's an even shorter testcase (without inheritance):
---------------------------------------------
struct __attribute__((dllimport)) A
{
virtual ~A();
void foo(const A&);
void bar(const A&);
};
void A::foo(const A&) {}
void A::bar(const A& a) { foo(a); }
---------------------------------------------
Btw, to get the infinite loop, you only have to make the destructor non-virtual.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13170