On 7 November 2011 22:00, Bill Wendling <wendling at apple.com> wrote:
> We are starting on our third (and hopefully last) round of testing for LLVM
3.0. Please visit:
>
> http://llvm.org/pre-releases/3.0/rc3/
>
> for the sources. There are also binaries for Darwin up there, with
> more to come during the week. Please build this release candidate,
> test it out on your projects, and let us know if you find any
> regressions from the 2.9 release.
On Linux Debian testing, gcc-4.6.1:
Built fine, with warnings listed below
make check-all passed
I couldn't figure out how to run the test-suite. Are there up-to-date
instructions somewhere? llvm-gcc doesn't exist anymore...
-Dave
I get the following warnings building llvm+clang (default configure,
default make target):
/home/greened/src/llvm-30-rc3/llvm/lib/Support/Mutex.cpp: In constructor
‘llvm::sys::MutexImpl::MutexImpl(bool)’:
/home/greened/src/llvm-30-rc3/llvm/lib/Support/Mutex.cpp:69:9: warning: variable
‘errorcode’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp: In
member function ‘llvm::SDValue
{anonymous}::SelectionDAGLegalize::LegalizeOp(llvm::SDValue)’:
/home/greened/src/llvm-30-rc3/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1652:19:
warning: variable ‘EltVT’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1632:15:
warning: variable ‘WideScalarVT’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp: In member
function ‘llvm::SDNode*
{anonymous}::ARMDAGToDAGISel::SelectABSOp(llvm::SDNode*)’:
/home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:2319:12:
warning: variable ‘DL’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp: In
member function ‘bool
{anonymous}::ARMAsmParser::tryParseRegisterWithWriteBack(llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&)’:
/home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp:1979:11:
warning: variable ‘ExprLoc’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp:
In function ‘DecodeStatus DecodeCopMemInstruction(llvm::MCInst&, unsigned
int, uint64_t, const void*)’:
/home/greened/src/llvm-30-rc3/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp:1241:12:
warning: variable ‘idx_mode’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Lex/Lexer.cpp: In static
member function ‘static clang::SourceLocation
clang::Lexer::GetBeginningOfToken(clang::SourceLocation, const
clang::SourceManager&, const clang::LangOptions&)’:
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Lex/Lexer.cpp:489:30:
warning: variable ‘FileLocInfo’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Lex/Lexer.cpp:490:30:
warning: variable ‘BeginFileLocInfo’ set but not used
[-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/AST/Decl.cpp: In member
function ‘unsigned int clang::FieldDecl::getFieldIndex() const’:
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/AST/Decl.cpp:2209:53:
warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Sema/SemaExpr.cpp: In member
function ‘clang::QualType
clang::Sema::CheckVectorCompareOperands(clang::ExprResult&,
clang::ExprResult&, clang::SourceLocation, bool)’:
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Sema/SemaExpr.cpp:6698:12:
warning: variable ‘RHSType’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/StaticAnalyzer/Core/RegionStore.cpp:
In member function ‘clang::ento::SVal
{anonymous}::RegionStoreManager::RetrieveStruct(clang::ento::Store, const
clang::ento::TypedValueRegion*)’:
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/StaticAnalyzer/Core/RegionStore.cpp:1280:12:
warning: variable ‘T’ set but not used [-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Sema/SemaTemplateInstantiateDecl.cpp:
In member function ‘clang::NamedDecl*
clang::Sema::FindInstantiatedDecl(clang::SourceLocation, clang::NamedDecl*,
const clang::MultiLevelTemplateArgumentList&)’:
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Sema/SemaTemplateInstantiateDecl.cpp:3170:12:
warning: variable ‘SawNonDependentContext’ set but not used
[-Wunused-but-set-variable]
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/CodeGen/CGRecordLayoutBuilder.cpp:
In member function ‘void {anonymous}::CGRecordLayoutBuilder::LayoutUnion(const
clang::RecordDecl*)’:
/home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/CodeGen/CGRecordLayoutBuilder.cpp:528:8:
warning: variable ‘hasOnlyZeroSizedBitFields’ set but not used
[-Wunused-but-set-variable]