public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27816]  New: wrong template line crashes the compiler
@ 2006-05-30  8:40 david_tschumperle at yahoo dot fr
  2006-05-30 12:26 ` [Bug c++/27816] [4.0/4.1/4.2 Regression] " rguenth at gcc dot gnu dot org
  2006-05-30 13:59 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: david_tschumperle at yahoo dot fr @ 2006-05-30  8:40 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-30 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-30  8:40 [Bug c++/27816] New: wrong template line crashes the compiler david_tschumperle at yahoo dot fr
2006-05-30 12:26 ` [Bug c++/27816] [4.0/4.1/4.2 Regression] " rguenth at gcc dot gnu dot org
2006-05-30 13:59 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).