[llvm-commits] CVS: llvm/lib/Analysis/BasicAliasAnalysis.cpp

Reid Spencer reid at x10sys.com
Thu Nov 2 12:26:59 PST 2006



Changes in directory llvm/lib/Analysis:

BasicAliasAnalysis.cpp updated: 1.87 -> 1.88
---
Log message:

For PR786: http://llvm.org/PR786 :
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining 
issues when they see them. All changes pass DejaGnu tests and Olden.


---
Diffs of the changes:  (+1 -1)

 BasicAliasAnalysis.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff -u llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.87 llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.88
--- llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.87	Fri Oct 20 02:07:24 2006
+++ llvm/lib/Analysis/BasicAliasAnalysis.cpp	Thu Nov  2 14:25:49 2006
@@ -399,7 +399,7 @@
   }
 
   if (V1Size != ~0U && V2Size != ~0U)
-    if (const User *GEP = isGEP(V1)) {
+    if (isGEP(V1)) {
       std::vector<Value*> GEPOperands;
       const Value *BasePtr = GetGEPOperands(V1, GEPOperands);
 






More information about the llvm-commits mailing list