http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54942
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2012-10-17 05:00:16 UTC --- ==21397== Invalid read of size 8 ==21397== at 0x8C1D76: unroll_and_peel_loops(int) (sbitmap.h:141) ==21397== by 0x8B25E7: rtl_unroll_and_peel_loops() (loop-init.c:378) ==21397== by 0x905069: execute_one_pass(opt_pass*) (passes.c:2320) ==21397== by 0x905494: execute_pass_list(opt_pass*) (passes.c:2381) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x6C61C7: expand_function(cgraph_node*) (cgraphunit.c:1601) ==21397== by 0x6C8079: compile() (cgraphunit.c:1705) ==21397== by 0x6C8654: finalize_compilation_unit() (cgraphunit.c:2080) ==21397== by 0x5A25B7: c_write_global_declarations() (c-decl.c:10118) ==21397== by 0x9EC004: compile_file() (toplev.c:560) ==21397== by 0x9EDBB7: toplev_main(int, char**) (toplev.c:1866) ==21397== by 0x5A334BC: (below main) (in /lib64/libc-2.15.so) ==21397== Address 0x67ec2a0 is 0 bytes after a block of size 16 alloc'd ==21397== at 0x4C29A80: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==21397== by 0x117A6D7: xmalloc (xmalloc.c:147) ==21397== by 0x983061: sbitmap_alloc(unsigned int) (sbitmap.c:85) ==21397== by 0x8C1D60: unroll_and_peel_loops(int) (loop-unroll.c:467) ==21397== by 0x8B25E7: rtl_unroll_and_peel_loops() (loop-init.c:378) ==21397== by 0x905069: execute_one_pass(opt_pass*) (passes.c:2320) ==21397== by 0x905494: execute_pass_list(opt_pass*) (passes.c:2381) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x6C61C7: expand_function(cgraph_node*) (cgraphunit.c:1601) ==21397== by 0x6C8079: compile() (cgraphunit.c:1705) ==21397== by 0x6C8654: finalize_compilation_unit() (cgraphunit.c:2080) ==21397== by 0x5A25B7: c_write_global_declarations() (c-decl.c:10118) ==21397== by 0x9EC004: compile_file() (toplev.c:560) ==21397== by 0x9EDBB7: toplev_main(int, char**) (toplev.c:1866) ==21397== by 0x5A334BC: (below main) (in /lib64/libc-2.15.so) ==21397== ==21397== Invalid write of size 8 ==21397== at 0x8C1D87: unroll_and_peel_loops(int) (sbitmap.h:141) ==21397== by 0x8B25E7: rtl_unroll_and_peel_loops() (loop-init.c:378) ==21397== by 0x905069: execute_one_pass(opt_pass*) (passes.c:2320) ==21397== by 0x905494: execute_pass_list(opt_pass*) (passes.c:2381) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x6C61C7: expand_function(cgraph_node*) (cgraphunit.c:1601) ==21397== by 0x6C8079: compile() (cgraphunit.c:1705) ==21397== by 0x6C8654: finalize_compilation_unit() (cgraphunit.c:2080) ==21397== by 0x5A25B7: c_write_global_declarations() (c-decl.c:10118) ==21397== by 0x9EC004: compile_file() (toplev.c:560) ==21397== by 0x9EDBB7: toplev_main(int, char**) (toplev.c:1866) ==21397== by 0x5A334BC: (below main) (in /lib64/libc-2.15.so) ==21397== Address 0x67ec2a0 is 0 bytes after a block of size 16 alloc'd ==21397== at 0x4C29A80: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==21397== by 0x117A6D7: xmalloc (xmalloc.c:147) ==21397== by 0x983061: sbitmap_alloc(unsigned int) (sbitmap.c:85) ==21397== by 0x8C1D60: unroll_and_peel_loops(int) (loop-unroll.c:467) ==21397== by 0x8B25E7: rtl_unroll_and_peel_loops() (loop-init.c:378) ==21397== by 0x905069: execute_one_pass(opt_pass*) (passes.c:2320) ==21397== by 0x905494: execute_pass_list(opt_pass*) (passes.c:2381) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x9054A6: execute_pass_list(opt_pass*) (passes.c:2382) ==21397== by 0x6C61C7: expand_function(cgraph_node*) (cgraphunit.c:1601) ==21397== by 0x6C8079: compile() (cgraphunit.c:1705) ==21397== by 0x6C8654: finalize_compilation_unit() (cgraphunit.c:2080) ==21397== by 0x5A25B7: c_write_global_declarations() (c-decl.c:10118) ==21397== by 0x9EC004: compile_file() (toplev.c:560) ==21397== by 0x9EDBB7: toplev_main(int, char**) (toplev.c:1866) ==21397== by 0x5A334BC: (below main) (in /lib64/libc-2.15.so) ==21397== cc1: out of memory allocating 17179869180 bytes after a total of 0 bytes