Bug 3351 - another ICE (segmentation fault)
: another ICE (segmentation fault)
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gcc3.2-c++)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-12-07 21:03 by
Modified: 2005-07-13 15:45 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-12-07 21:03:28
$ cat > a.cc
namespace ns { template <typename T> struct struct1: T {}; }
void g(void) { ns::struct1(); }

$ g++ a.cc
a.cc: In function `void g()':
a.cc:2: internal error: Segmentation fault
------- Comment #1 From 2003-12-30 14:42:50 -------
$ g++-3.3
test.cc: In function `void g()':
test.cc:2: error: invalid use of `template<class T> struct ns::struct1'

no more ICE here