https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67004
Bug ID: 67004 Summary: valgrind error in recog_memoized & shorten_branches 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: --- Using today's gcc trunk code, I tried another build with valgrind. I got /home/dcb/gcc/working/./gcc/xgcc -B/home/dcb/gcc/working/./gcc/ -B/home/dcb/gcc/results/x86_64-unknown-linux-gnu/bin/ -B/home/dcb/gcc/results/x86_64-unknown-linux-gnu/lib/ -isystem /home/dcb/gcc/results/x86_64-unknown-linux-gnu/include -isystem /home/dcb/gcc/results/x86_64-unknown-linux-gnu/sys-include -g -O2 -O2 -g -O2 -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 -Wno-missing-prototypes -Wno-type-limits -o multf3.o -MT multf3.o -MD -MP -MF multf3.dep -c ../../../src/trunk/libgcc/soft-fp/multf3.c -fvisibility=hidden -DHIDE_EXPORTS ==14694== Conditional jump or move depends on uninitialised value(s) ==14694== at 0x7594C5: recog_memoized (recog.h:167) ==14694== by 0x7594C5: shorten_branches(rtx_insn*) (final.c:1203) ==14694== by 0x759BCF: rest_of_handle_shorten_branches (final.c:4541) ==14694== by 0x759BCF: (anonymous namespace)::pass_shorten_branches::execute(function*) (final.c:4570) recog.h:167 is if (INSN_CODE (insn) < 0) Configure line is ../src/trunk/configure --prefix=/home/dcb/gcc/results \ --disable-werror \ --disable-multilib \ --enable-checking=valgrind \ --disable-bootstrap \ --enable-languages=c,c++,fortran