gfortran -O3 -ftree-loop-linear -ftree-vectorize air.f90 gives: air.f90: In function 'MAIN__': air.f90:28: internal compiler error: Segmentation fault
Using -O2 or dropping one of the -f options removes the error. Occurs also with -m32. This is with today's GCC 4.3 (r124742). It was working with yesterday's 2007-05-14-r124708 on x86_64-unknown-linux-gnu. Test case is part of http://www.polyhedron.co.uk/pb05/polyhedron_benchmark_suite.html Valgrind prints: ==24685== Invalid read of size 2 ==24685== at 0x782DA1: verify_ssa_name (tree-ssa.c:109) ==24685== by 0x784768: verify_ssa (tree-ssa.c:716) ==24685== by 0x608714: execute_function_todo (passes.c:914) ==24685== by 0x60847C: execute_todo (passes.c:935) ==24685== by 0x608959: execute_one_pass (passes.c:1080) ==24685== by 0x608ABB: execute_pass_list (passes.c:1110) ==24685== by 0x608ACD: execute_pass_list (passes.c:1111) ==24685== by 0x608ACD: execute_pass_list (passes.c:1111) ==24685== by 0x608ACD: execute_pass_list (passes.c:1111) ==24685== by 0x6D3057: tree_rest_of_compilation (tree-optimize.c:406) ==24685== by 0x80FD3F: cgraph_expand_function (cgraphunit.c:1086) ==24685== by 0x8121E1: cgraph_optimize (cgraphunit.c:1155) -- Summary: [Regression 4.3] ICE with -O3 -ftree-loop-linear -ftree- vectorize Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31935