I cannot compile VTK using gcc 4.1.0 (at least the one shipped in gcc-snapshot).
Step to reproduce (on debian testing system): 1. sudo apt-get install gcc-snapshot (as of today) 2. Get VTK source (CVS) 3. Compile line is: /usr/lib/gcc-snapshot/bin/g++ -save-temps -o vtkLargeInteger.o -DvtkCommon_EXPORTS -Wall -W -Wshadow -Wunused -Wno-system-headers -Wno-deprecated -Woverloaded-virtual -fno-trapping-math -ftrapv -fno-inline -fno-inline-functions -Wno-long-long -Wno-deprecated -O3 -fPIC -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot/Utilities -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot/Rendering -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Parallel -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Hybrid -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Patented -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/VolumeRendering -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Rendering -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Rendering/Testing/Cxx -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/IO -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Imaging -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Graphics -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/GenericFiltering -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Filtering -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Common -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Utilities -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/Testing/Cxx -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot/Utilities/DICOMParser -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Utilities/DICOMParser -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot/Utilities/vtkfreetype/include -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Utilities/vtkfreetype/include -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot/Utilities/vtkfreetype -I/home/mathieu/Dashboards/MyTests/ParaView/VTK/Utilities/ftgl/src -I/home/mathieu/Dashboards/MyTests/VTK-gcc-snapshot/Utilities/ftgl -I/usr/X11R6/include -I/usr/include/tcl8.4 -DVTK_IN_VTK -c /home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/vtkLargeInteger.cxx /home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/vtkLargeInteger.cxx: In member function 'vtkLargeInteger& vtkLargeInteger::operator<<=(int)': /home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/vtkLargeInteger.cxx:568: 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: internal compiler error: Segmentation fault Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mmalater at nycap dot rr dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21493