This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/34869] New: valgrind error indication in testsuite from _cpp_lex_token (lex.c:783) with gcc.dg/cpp/line5.c
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2008 11:11:03 -0000
- Subject: [Bug preprocessor/34869] New: valgrind error indication in testsuite from _cpp_lex_token (lex.c:783) with gcc.dg/cpp/line5.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
A r131535 of trunk (a later revision is recommended, at least >= r131589)
bootstrapped with --enable-langugages=c --enable-checking=release,valgrind
shows these error indications for gcc.dg/cpp/line5.c (as in gcc.log, but only
the first 3 are shown):
Executing on host: /tmp/hptest8/obj/gcc/xgcc -B/tmp/hptest8/obj/gcc/
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/line5.c -fpreproc
essed -fno-show-column -E -o line5.i (timeout = 300)
==24251== Conditional jump or move depends on uninitialised value(s)
==24251== at 0x92D27B: _cpp_lex_token (lex.c:783)
==24251== by 0x92F6FC: cpp_get_token (macro.c:1110)
==24251== by 0x4499B7: preprocess_file (c-ppoutput.c:148)
==24251== by 0x4422C0: c_common_init (c-opts.c:1237)
==24251== by 0x44C21D: c_objc_common_init (c-objc-common.c:72)
==24251== by 0x5F5FA7: toplev_main (toplev.c:2128)
==24251== by 0x387301E073: (below main) (in /lib64/libc-2.7.so)
==24251==
==24251== Conditional jump or move depends on uninitialised value(s)
==24251== at 0x92F712: cpp_get_token (macro.c:1137)
==24251== by 0x4499B7: preprocess_file (c-ppoutput.c:148)
==24251== by 0x4422C0: c_common_init (c-opts.c:1237)
==24251== by 0x44C21D: c_objc_common_init (c-objc-common.c:72)
==24251== by 0x5F5FA7: toplev_main (toplev.c:2128)
==24251== by 0x387301E073: (below main) (in /lib64/libc-2.7.so)
==24251==
==24251== Conditional jump or move depends on uninitialised value(s)
==24251== at 0x4499C2: preprocess_file (c-ppoutput.c:150)
==24251== by 0x4422C0: c_common_init (c-opts.c:1237)
==24251== by 0x44C21D: c_objc_common_init (c-objc-common.c:72)
==24251== by 0x5F5FA7: toplev_main (toplev.c:2128)
==24251== by 0x387301E073: (below main) (in /lib64/libc-2.7.so)
--
Summary: valgrind error indication in testsuite from
_cpp_lex_token (lex.c:783) with gcc.dg/cpp/line5.c
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34869