c++/8149: internal error: Segmentation fault

sneechy@hotmail.com sneechy@hotmail.com
Fri Oct 4 15:16:00 GMT 2002


>Number:         8149
>Category:       c++
>Synopsis:       internal error: Segmentation fault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 04 15:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     sneechy@hotmail.com
>Release:        gcc version 3.2 (mingw special 20020817-1)
>Organization:
>Environment:
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
>Description:
The following four lines of code:

#include <typeinfo>
struct B { template <typename U> struct C; };
template <typename T> struct A { typedef typename T::C V; };
void f () { A<B>::V p; }

Result in an internal compiler error:
"internal error: Segmentation fault"
>How-To-Repeat:
Compile the four lines of code (see problem description).
>Fix:
I don't have a clue..
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list