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

* [Bug c++/27816] [4.0/4.1/4.2 Regression] wrong template line crashes the compiler
  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 ` rguenth at gcc dot gnu dot org
  2006-05-30 13:59 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-05-30 12:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-05-30 12:26 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |4.2.0 4.1.1 4.0.3
      Known to work|                            |3.4.6
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-30 12:26:04
               date|                            |
            Summary|wrong template line crashes |[4.0/4.1/4.2 Regression]
                   |the compiler                |wrong template line crashes
                   |                            |the compiler
   Target Milestone|---                         |4.0.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27816


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

* [Bug c++/27816] [4.0/4.1/4.2 Regression] wrong template line crashes the compiler
  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
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-30 13:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-05-30 13:58 -------


*** This bug has been marked as a duplicate of 20133 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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).