gfortran -O2 -floop-block test.f90 test.f90: In function 'ivsort': test.f90:1: error: edge from 7 to 12 should be marked irreducible test.f90:1: error: basic block 12 should be marked irreducible test.f90:1: internal compiler error: in verify_loop_structure, at cfgloop.c:1569 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
This was tested on the graphite branch. The reduced testcase is attached for the same bug. -Mitul Thakkar. -- Summary: [graphite] ICE: in verify_loop_structure, at cfgloop.c:1569 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mitul dot thakkar at amd dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38083