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++ -o vtkRungeKutta45.o -DvtkCommon_EXPORTS -Wall -W
-Wshadow -Wunused -Wno-system-headers -Wno-deprecated -Woverloaded-virtual 
-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/VolumeRendering
-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/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/vtkRungeKutta45.cxx



Error is:

/home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/vtkRungeKutta45.cxx: In
member function 'int vtkRungeKutta45::ComputeAStep(double*, double*, double*,
double, double&, double&)':
/home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/vtkRungeKutta45.cxx:205:
error: Definition in block 76 follows the use
for SSA_NAME: A_428 in statement:
#   A_441 = V_MAY_DEF <A_428>;
#   B_442 = V_MAY_DEF <B_429>;
#   C_443 = V_MAY_DEF <C_430>;
#   DC_444 = V_MAY_DEF <DC_431>;
*error_48 = D.36281_47;
/home/mathieu/Dashboards/MyTests/ParaView/VTK/Common/vtkRungeKutta45.cxx:205:
internal compiler error: verify_ssa failed.
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: verify_ssa failed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          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=22037

Reply via email to