This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/8149: internal error: Segmentation fault
- From: sneechy at hotmail dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 4 Oct 2002 22:09:45 -0000
- Subject: c++/8149: internal error: Segmentation fault
- Reply-to: sneechy at hotmail dot com
>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: