This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5950: g++ - Internal error: Segmentation fault
- From: gianni at mariani dot ws
- To: gcc-gnats at gcc dot gnu dot org
- Date: 13 Mar 2002 22:38:55 -0000
- Subject: c++/5950: g++ - Internal error: Segmentation fault
- Reply-to: gianni at mariani dot ws
>Number: 5950
>Category: c++
>Synopsis: g++ - Internal error: Segmentation fault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 13 14:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Gianni Mariani
>Release: 3.0.4
>Organization:
>Environment:
Linux
>Description:
Trying to compile the file below generates a segmentation fault.
g++ yy.cpp -o xx
yy.cpp:16: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
------------- yy.cpp ----
#include <iostream>
template <class foo> class xx {
public:
int yy( foo );
};
template <class foo> int xx< foo >::yy( foo xx )
{
return xx;
}
template int xx< short >::yy;
-----------------
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: