https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649
Bug ID: 67649 Summary: trunk build with valgrind fail in get_def_blocks_for Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I just tried to build gcc trunk of today (20150920) on x86_64 and got this: /home/dcb/gcc/working/./gcc/xgcc -B/home/dcb/gcc/working/./gcc/ -B/home/dcb/gcc/results/x86_64-pc-linux-gnu/bin/ -B/home/dcb/gcc/results/x86_64-pc-linux-gnu/lib/ -isystem /home/dcb/gcc/results/x86_64-pc-linux-gnu/include -isystem /home/dcb/gcc/results/x86_64-pc-linux-gnu/sys-include -g -O3 -march=native -O2 -g -O3 -march=native -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -mlong-double-80 -DUSE_ELF_SYMVER -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -DUSE_ELF_SYMVER -I. -I. -I../.././gcc -I../../../src/trunk/libgcc -I../../../src/trunk/libgcc/. -I../../../src/trunk/libgcc/../gcc -I../../../src/trunk/libgcc/../include -I../../../src/trunk/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ashldi3 -c ../../../src/trunk/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS ==9820== Invalid write of size 8 ==9820== at 0x670401: bitmap_initialize_stat (bitmap.h:332) ==9820== by 0x670401: bitmap_obstack_alloc_stat(bitmap_obstack*) (bitmap.c:286) ==9820== by 0xAEB9B3: get_def_blocks_for (tree-into-ssa.c:489) ==9820== by 0xAEB9B3: set_livein_block (tree-into-ssa.c:543)