Using -fgraphite-identity, test case is terminating with Segmentation fault..
gcc -c -O3 -fgraphite-identity final_seg.c final_seg.c: In function 'Perl_av_fill': final_seg.c:23: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gdb back trace is giving following message... Program received signal SIGSEGV, Segmentation fault. prepare_block_for_update (bb=0x2ae34bba1900, insert_phi_p=1 '\001') at ../../graphite/gcc/tree-into-ssa.c:2426 2426 tree sym = DECL_P (use) ? use : SSA_NAME_VAR (use); (gdb) bt #0 prepare_block_for_update (bb=0x2ae34bba1900, insert_phi_p=1 '\001') at ../../graphite/gcc/tree-into-ssa.c:2426 #1 0x000000000072554b in prepare_block_for_update (bb=0x2ae34bbad2a0, insert_phi_p=1 '\001') at ../../graphite/gcc/tree-into-ssa.c:2444 #2 0x000000000072554b in prepare_block_for_update (bb=0x2ae34bba18a0, insert_phi_p=1 '\001') at ../../graphite/gcc/tree-into-ssa.c:2444 #3 0x000000000072554b in prepare_block_for_update (bb=0x2ae34bba17e0, insert_phi_p=128 '\200') at ../../graphite/gcc/tree-into-ssa.c:2444 #4 0x0000000000726817 in update_ssa (update_flags=2048) at ../../graphite/gcc/tree-into-ssa.c:3224 #5 0x00000000007ab930 in rewrite_into_loop_closed_ssa (changed_bbs=0x0, update_flag=2048) at ../../graphite/gcc/tree-ssa-loop-manip.c:381 #6 0x0000000000abc162 in gloog (scop=<value optimized out>, stmt=<value optimized out>) at ../../graphite/gcc/graphite.c:4443 #7 0x0000000000abd7d9 in graphite_transform_loops () at ../../graphite/gcc/graphite.c:5318 #8 0x00000000007b4d17 in graphite_transforms () at ../../graphite/gcc/tree-ssa-loop.c:298 #9 0x000000000063fb8b in execute_one_pass (pass=0xf24da0) at ../../graphite/gcc/passes.c:1279 #10 0x000000000063fdc5 in execute_pass_list (pass=0xf24da0) at ../../graphite/gcc/passes.c:1328 #11 0x000000000063fddd in execute_pass_list (pass=0xf24b00) at ../../graphite/gcc/passes.c:1329 #12 0x000000000063fddd in execute_pass_list (pass=0xf23fc0) at ../../graphite/gcc/passes.c:1329 #13 0x000000000073560c in tree_rest_of_compilation (fndecl=0x2ae34bb8be00) at ../../graphite/gcc/tree-optimize.c:418 #14 0x00000000008abcf4 in cgraph_expand_function (node=0x2ae34bb8bf00) at ../../graphite/gcc/cgraphunit.c:1038 #15 0x00000000008adac5 in cgraph_optimize () at ../../graphite/gcc/cgraphunit.c:1097 #16 0x0000000000417553 in c_write_global_declarations () at ../../graphite/gcc/c-decl.c:8074 #17 0x00000000006e65df in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../graphite/gcc/toplev.c:979 #18 0x00002ae34b39b184 in __libc_start_main () from /lib64/libc.so.6 #19 0x0000000000405109 in _start () Reduced test case for the same is attached... -Mitul Thakkar -- Summary: [graphite] ICE :Segmentation fault 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=38125