Bug 3351 - another ICE (segmentation fault)
Summary: another ICE (segmentation fault)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gcc3.2-c++ (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-07 21:03 MSK by Alexey Voinov
Modified: 2005-07-13 15:45 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Voinov 2003-12-07 21:03:28 MSK
$ 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 Alexey Voinov 2003-12-30 14:42:50 MSK
$ 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