https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109593
Bug ID: 109593 Summary: valgrind error doing build of latest gcc trunk Product: gcc Version: 13.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 a valgrind build of gcc trunk. Configure line is ../trunk/configure \ --disable-multilib \ --disable-bootstrap \ --enable-checking=valgrind \ --enable-languages=c,c++ I get: /home/dcb36/gcc/working/./gcc/xgcc -B/home/dcb36/gcc/working/./gcc/ -B/home/dcb36/gcc/results.20230422.valgrind/x86_64-pc-linux-gnu/bin/ -B/home/dcb36/gcc/results.20230422.valgrind/x86_64-pc-linux-gnu/lib/ -isystem /home/dcb36/gcc/results.20230422.valgrind/x86_64-pc-linux-gnu/include -isystem /home/dcb36/gcc/results.20230422.valgrind/x86_64-pc-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 -fcf-protection -mshstk -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -I. -I. -I../.././gcc -I../../../trunk.year/libgcc -I../../../trunk.year/libgcc/. -I../../../trunk.year/libgcc/../gcc -I../../../trunk.year/libgcc/../include -I../../../trunk.year/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _bswapdi2_s.o -MT _bswapdi2_s.o -MD -MP -MF _bswapdi2_s.dep -DSHARED -DL_bswapdi2 -c ../../../trunk.year/libgcc/libgcc2.c ==2810006== Conditional jump or move depends on uninitialised value(s) ==2810006== at 0xB9FD91: real_identical(real_value const*, real_value const*) (real.cc:1318) ==2810006== by 0xEBFAD4: frange::operator==(frange const&) const (value-range.cc:685) ==2810006== by 0x18BCCC0: operator!= (value-range.h:101) ==2810006== by 0x18BCCC0: operator!= (value-range.h:646) ==2810006== by 0x18BCCC0: ranger_cache::propagate_cache(tree_node*) (gimple-range-cache.cc:1097)