This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8841: [CygWin] Internal compiler error building ICU2.2 with gcc 3.2
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <gcc-gnats at gcc dot gnu dot org>,<britten at caris dot com>,<gcc-bugs at gcc dot gnu dot org>,<bradley at caris dot com>,<nobody at gcc dot gnu dot org>,<gcc-prs at gcc dot gnu dot org>
- Date: Fri, 24 Jan 2003 03:21:38 +0100
- Subject: Re: c++/8841: [CygWin] Internal compiler error building ICU2.2 with gcc 3.2
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=8841
Reduced snippet is:
-------------------------
struct __attribute__((dllimport)) A
{
static void f();
static void g(int );
};
inline void A::g(int )
{
f();
}
inline void A::f(void) {}
void B(void)
{
A::f();
}
-------------------------
ice2.cpp: In static member function `static void A::f()':
ice2.cpp:13: Internal compiler error in rest_of_compilation, at
toplev.c:3491
Please submit a full bug report,
Verified with 3.2 (both CygWin and MinGW). Similar to PR/9237 since it's
related to dllimport, not sure if it's a duplicate since the ICE message
seems different.
Giovanni Bajo