Hi, g++ crashes and asks me to submit a bug on the following program fragment:
The command is: g++-3.2 -c -Wreturn-type -pedantic -pedantic-errors -Wundef testing.cpp -o testing.o The OS: Linux 2.4.26.1.p4 #1 i686 (and also on 2.4.21.4) The code (file testing.cpp) is: #include <vector> #include <iostream> template< class D > class union_find; template< class D > class union_find<D> :: index; template< class D > std::ostream& operator << ( std::ostream& , const union_find< D > & ); int main( unsigned int nrarguments, char arguments [] ) { std::cout << "have a nice day without crashes!\n"; } -- Summary: gcc crashes and asks to submit a bug. Product: gcc Version: 3.2.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nivelle at mpi-sb dot mpg dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20602