[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu May 18 10:29:58 PDT 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaISelDAGToDAG.cpp updated: 1.39 -> 1.40
---
Log message:
Fix a bogus gcc warning
---
Diffs of the changes: (+2 -2)
AlphaISelDAGToDAG.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.39 llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.40
--- llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.39 Sat Apr 8 00:38:03 2006
+++ llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp Thu May 18 12:29:34 2006
@@ -377,8 +377,8 @@
break;
case ISD::AND: {
- ConstantSDNode* SC;
- ConstantSDNode* MC;
+ ConstantSDNode* SC = NULL;
+ ConstantSDNode* MC = NULL;
if (N->getOperand(0).getOpcode() == ISD::SRL &&
(MC = dyn_cast<ConstantSDNode>(N->getOperand(1))) &&
(SC = dyn_cast<ConstantSDNode>(N->getOperand(0).getOperand(1))))
More information about the llvm-commits
mailing list