[LLVMbugs] [Bug 8064] New: In FixIt code, valgrind reports "Conditional jump or move depends on uninitialised value"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Sep 2 13:31:47 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8064
Summary: In FixIt code, valgrind reports "Conditional jump or
move depends on uninitialised value"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Valgrind noticed a problem in clang when clang processes the existing clang
test
test/FixIt/fixit-errors.c
$ valgrind clang -cc1 -pedantic -verify -fixit -x c fixit-errors.c
==5038== Memcheck, a memory error detector
==5038== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==5038== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==5038== Command: clang -cc1 -pedantic -verify -fixit -x c fixit-errors.c
==5038==
2 errors generated.
==5038== Conditional jump or move depends on uninitialised value(s)
==5038== at 0x64EE21: clang::VerifyDiagnosticsClient::CheckDiagnostics()
(VerifyDiagnosticsClient.cpp:491)
==5038== by 0x650178: clang::VerifyDiagnosticsClient::HadErrors()
(VerifyDiagnosticsClient.cpp:63)
==5038== by 0x62A75B:
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(CompilerInstance.cpp:557)
==5038== by 0x60A7AB:
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(ExecuteCompilerInvocation.cpp:148)
==5038== by 0x6027ED: cc1_main(char const**, char const**, char const*,
void*) (cc1_main.cpp:160)
==5038== by 0x609294: main (driver.cpp:268)
...
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list