[forwarded from http://bugs.debian.org/390620]
arm-linux-gnu, works with 4.0.4, fails with 4.1.2 20060928. Matthias g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -O2 -finline-limit=1200 -c symmetry.cpp -fPIC -DPIC -o .libs/symmetry.o basic.h:85: warning: 'struct GiNaC::map_function' has virtual functions but non-virtual destructor basic.h:104: warning: 'class GiNaC::basic::visitor' has virtual functions but non-virtual destructor ex.h:879: warning: 'class GiNaC::pointer_to_map_function' has virtual functions but non-virtual destructor symmetry.h:44: warning: 'class GiNaC::symmetry::visitor' has virtual functions but non-virtual destructor numeric.h:80: warning: 'class GiNaC::numeric::visitor' has virtual functions but non-virtual destructor container.h: In instantiation of 'GiNaC::container<std::list>::visitor': container.h:130: instantiated from 'void GiNaC::container< <template-parameter-1-1> >::accept(GiNaC::visitor&) cons t [with C = std::list]' symmetry.cpp:497: instantiated from here container.h:130: warning: 'class GiNaC::container<std::list>::visitor' has virtual functions but non-virtual destruct or symmetry.cpp: In function 'GiNaC::ex GiNaC::symm(const GiNaC::ex&, __gnu_cxx::__normal_iterator<const GiNaC::ex*, std ::vector<GiNaC::ex, std::allocator<GiNaC::ex> > >, __gnu_cxx::__normal_iterator<const GiNaC::ex*, std::vector<GiNaC:: ex, std::allocator<GiNaC::ex> > >, bool)': symmetry.cpp:442: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [4.1 regression] ICE on valid C++ code Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org GCC target triplet: arm-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29338