This is the mail archive of the 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]

c++/8007: Internal compiler error in walk_tree

>Number:         8007
>Category:       c++
>Synopsis:       Internal compiler error in walk_tree
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 18:26:00 PDT 2002
>Release:        gcc version 3.2 (mingw special 20020817-1)
Windows XP, gcc configure options: --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=f77,c++,objc,ada --disable-win32-registry --disable-shared
The following three lines of code:

template <typename T> struct A;
struct B { int f (); };
void g () { A<typeof(B::f)> a; }

Result in an internal compiler error:

Internal compiler error in walk_tree, at tree-inline.c:1315
Compile the three lines of code (see problem description).
I don't have a clue..

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