[Bug preprocessor/34869] New: valgrind error indication in testsuite from _cpp_lex_token (lex.c:783) with gcc.dg/cpp/line5.c

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 19 12:00:00 GMT 2008


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



More information about the Gcc-bugs mailing list