https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458
Bug ID: 116458
Summary: New valgrind error in search_line_ssse3
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
>From today's valgrind build of gcc trunk:
/usr/bin/valgrind -q build/genmatch --generic \
--header=tmp-generic-match-auto.h --include=generic-match-auto.h \
../../trunk/gcc/match.pd tmp-generic-match-1.cc tmp-generic-match-2.cc
tmp-generic-match-3.cc tmp-generic-match-4.cc tmp-generic-match-5.cc
tmp-generic-match-6.cc tmp-generic-match-7.cc tmp-generic-match-8.cc
tmp-generic-match-9.cc tmp-generic-match-10.cc
==238807== Conditional jump or move depends on uninitialised value(s)
==238807== at 0x42D5B4: search_line_ssse3(unsigned char const*, unsigned
char const*) (lex.cc:378)
==238807== by 0x42E222: _cpp_clean_line (lex.cc:845)
==238807== by 0x42E6D2: bool get_fresh_line_impl<false>(cpp_reader*)
(lex.cc:3635)
File lex.cc, line 378 is
while (!found);
Configure script is
../trunk/configure \
--disable-multilib \
--disable-bootstrap \
--enable-checking=valgrind \
--enable-languages=c,c++
git log libcpp/lex.cc says:
commit 20a5b4824993ae1c99f3b965c5e07bbd2c64b2ce
Author: Alexander Monakov <[email protected]>
Date: Tue Aug 6 09:47:23 2024 +0300
libcpp: replace SSE4.2 helper with an SSSE3 one