http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47738

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-02-14 20:44:43 
UTC ---
Backtrace for the 4.5 crash:
$ gcc-4.5 -O3 -fno-tree-vectorize testcase.c
==13333== Invalid read of size 2
==13333==    at 0x6CE7AC: is_gimple_val (gimple.c:2718)
==13333==    by 0x86D3D4: verify_gimple_phi (tree-cfg.c:3714)
==13333==    by 0x875BD7: verify_stmts (tree-cfg.c:4112)
==13333==    by 0x977D2E: verify_ssa (tree-ssa.c:874)
==13333==    by 0x92DB4C: verify_loop_closed_ssa (tree-ssa-loop-manip.c:457)
==13333==    by 0x92E22C: gimple_duplicate_loop_to_header_edge
(tree-ssa-loop-manip.c:619)
==13333==    by 0x92EC99: tree_transform_and_unroll_loop
(tree-ssa-loop-manip.c:1043)
==13333==    by 0x8C6E5C: tree_predictive_commoning_loop (tree-predcom.c:2547)
==13333==    by 0x8C8202: tree_predictive_commoning (tree-predcom.c:2584)
==13333==    by 0x937706: run_tree_predictive_commoning (tree-ssa-loop.c:186)
==13333==    by 0x777CEA: execute_one_pass (passes.c:1568)
==13333==    by 0x777F74: execute_pass_list (passes.c:1623)
==13333==    by 0x777F86: execute_pass_list (passes.c:1624)
==13333==    by 0x777F86: execute_pass_list (passes.c:1624)
==13333==    by 0x8B8774: tree_rest_of_compilation (tree-optimize.c:413)
==13333==    by 0xA52F00: cgraph_expand_function (cgraphunit.c:1574)
==13333==    by 0xA55874: cgraph_optimize (cgraphunit.c:1653)
==13333==    by 0xA55FD4: cgraph_finalize_compilation_unit (cgraphunit.c:1122)
==13333==    by 0x4B1272: c_write_global_declarations (c-decl.c:9520)
==13333==    by 0x867A14: toplev_main (toplev.c:1065)
==13333==    by 0x6738BBC: (below main) (in /lib64/libc-2.11.2.so)
==13333==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==13333== 
testcase.c: In function 'foo':
testcase.c:5: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.

Reply via email to