This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]