gcc -c -O2 -floop-block test_loop_struct.c test_loop_struct.c: In function 'Perl_re_intuit_start': test_loop_struct.c:17: warning: assignment makes pointer from integer without a cast test_loop_struct.c:21: warning: incompatible implicit declaration of built-in function 'printf' test_loop_struct.c:3: error: basic block 8 should not be marked irreducible test_loop_struct.c:3: error: edge from 8 to 14 should not be marked irreducible test_loop_struct.c:3: 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.
I tried compiling using -fgraphite-identity also, it is failing with the same error. Reduced test case is submitted for the same.. -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=38500