Command line: gcc -O1 -fgraphite-identity testcase.c (fails at all -O1, -O2, -O3 levels)
Tested revisions: r156745 - crash r153685 - crash 4.4 r156256 - OK Output: $ /mnt/svn/gcc-trunk/binary-156745-lto/bin/gcc -O3 -fgraphite-identity testcase.c testcase.c: In function 'foo': testcase.c:9:5: 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. Valgrind: ==14930== Invalid write of size 8 ==14930== at 0x563054: link_block (cfg.c:153) ==14930== by 0x7CD121: create_bb (tree-cfg.c:444) ==14930== by 0x572672: create_basic_block (cfghooks.c:621) ==14930== by 0x7CDF84: gimple_split_block (tree-cfg.c:4812) ==14930== by 0x5720BE: split_block (cfghooks.c:433) ==14930== by 0x572970: make_forwarder_block (cfghooks.c:737) ==14930== by 0xBFB572: create_sese_edges (graphite-scop-detection.c:965) ==14930== by 0xBFD4BA: build_scops (graphite-scop-detection.c:1327) ==14930== by 0xBF036F: graphite_transform_loops (graphite.c:260) ==14930== by 0x8968C6: graphite_transforms (tree-ssa-loop.c:300) ==14930== by 0x7233EA: execute_one_pass (passes.c:1561) ==14930== by 0x723674: execute_pass_list (passes.c:1616) ==14930== Address 0x30 is not stack'd, malloc'd or (recently) free'd -- Summary: [4.5 Regression] ICE: SIGSEGV with -fgraphite-identity Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43083