gcc -c -O3 -fgraphite-identity test_seg.c test_seg.c: In function 'test_seg': test_seg.c:1: 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 is giving following message Program received signal SIGSEGV, Segmentation fault. find_uses_to_rename_use (bb=0x2adb75d73c00, use=0x0, use_blocks=0x100e8d0, need_phis=0xfec758) at ../../graphite/gcc/tree-ssa-loop-manip.c:238 238 if (TREE_CODE (use) != SSA_NAME) (gdb) bt #0 find_uses_to_rename_use (bb=0x2adb75d73c00, use=0x0, use_blocks=0x100e8d0, need_phis=0xfec758) at ../../graphite/gcc/tree-ssa-loop-manip.c:238 #1 0x00000000007a7525 in find_uses_to_rename_bb (bb=0x2adb75d73c00, use_blocks=0x100e8d0, need_phis=0xfec758) at ../../graphite/gcc/tree-ssa-loop-manip.c:297 #2 0x00000000007a7abe in rewrite_into_loop_closed_ssa (changed_bbs=<value optimized out>, update_flag=2048) at ../../graphite/gcc/tree-ssa-loop-manip.c:327 #3 0x0000000000abb9c9 in gloog (scop=0xffe020, stmt=<value optimized out>) at ../../graphite/gcc/graphite.c:4410 #4 0x0000000000abcf15 in graphite_transform_loops () at ../../graphite/gcc/graphite.c:5287 #5 0x00000000007b0d07 in graphite_transforms () at ../../graphite/gcc/tree-ssa-loop.c:298 #6 0x000000000063d408 in execute_one_pass (pass=0xf22da0) at ../../graphite/gcc/passes.c:1279 #7 0x000000000063d645 in execute_pass_list (pass=0xf22da0) at ../../graphite/gcc/passes.c:1327 #8 0x000000000063d65d in execute_pass_list (pass=0xf22b00) at ../../graphite/gcc/passes.c:1328 #9 0x000000000063d65d in execute_pass_list (pass=0xf21fc0) at ../../graphite/gcc/passes.c:1328 #10 0x0000000000731b5c in tree_rest_of_compilation (fndecl=0x2adb75d5de00) at ../../graphite/gcc/tree-optimize.c:418 #11 0x00000000008a7414 in cgraph_expand_function (node=0x2adb75d5df00) at ../../graphite/gcc/cgraphunit.c:1038 #12 0x00000000008a91e5 in cgraph_optimize () at ../../graphite/gcc/cgraphunit.c:1097 #13 0x0000000000417593 in c_write_global_declarations () at ../../graphite/gcc/c-decl.c:8073 #14 0x00000000006e326f in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../graphite/gcc/toplev.c:979 #15 0x00002adb7556d184 in __libc_start_main () from /lib64/libc.so.6 #16 0x00000000004050b9 in _start () -- 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=38073