summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CBackend/CBackend.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:22:39 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:22:39 +0000
commit40d67c59d5ceb9fec5d95a391e396c21b7c5c674 (patch)
treeab967dfcc20aa49826942c6bc249bef9c7bc6488 /llvm/lib/Target/CBackend/CBackend.cpp
parent035eaacd1fd5406ea248a0275f7ad8207da6db21 (diff)
downloadbcm5719-llvm-40d67c59d5ceb9fec5d95a391e396c21b7c5c674.tar.gz
bcm5719-llvm-40d67c59d5ceb9fec5d95a391e396c21b7c5c674.zip
Remove bunch of gcc 4.3-related warnings from Target
llvm-svn: 47369
Diffstat (limited to 'llvm/lib/Target/CBackend/CBackend.cpp')
-rw-r--r--llvm/lib/Target/CBackend/CBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CBackend/CBackend.cpp b/llvm/lib/Target/CBackend/CBackend.cpp
index d01c2ab74af..305c8de3740 100644
--- a/llvm/lib/Target/CBackend/CBackend.cpp
+++ b/llvm/lib/Target/CBackend/CBackend.cpp
@@ -2912,7 +2912,7 @@ void CWriter::printIndexingExpression(Value *Ptr, gep_type_iterator I,
HasImplicitAddress = false; // HIA is only true if we haven't addressed yet
}
- assert(!HasImplicitAddress || (CI && CI->isNullValue()) &&
+ assert((!HasImplicitAddress || (CI && CI->isNullValue())) &&
"Can only have implicit address with direct accessing");
if (HasImplicitAddress) {
OpenPOWER on IntegriCloud