This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27816] New: wrong template line crashes the compiler
- From: "david_tschumperle at yahoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2006 08:40:24 -0000
- Subject: [Bug c++/27816] New: wrong template line crashes the compiler
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following file 'foo.cpp' doesn't compile :
// foo.cpp
template<typename X> class foo { static int val; };
template<int> int foo<int>::val = 0;
> g++ foo.cpp
foo.cpp:1: internal compiler error: in import_export_decl, at cp/decl2.c:1733
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
--
Summary: wrong template line crashes the compiler
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david_tschumperle at yahoo dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27816