This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/5950: g++ - Internal error: Segmentation fault



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]