[llvm-commits] [llvm] r95808 - /llvm/trunk/utils/TableGen/CodeGenInstruction.h

Chris Lattner sabre at nondot.org
Wed Feb 10 13:22:51 PST 2010


Author: lattner
Date: Wed Feb 10 15:22:51 2010
New Revision: 95808

URL: http://llvm.org/viewvc/llvm-project?rev=95808&view=rev
Log:
work around a gcc bug with -Wuninitialized.

Modified:
    llvm/trunk/utils/TableGen/CodeGenInstruction.h

Modified: llvm/trunk/utils/TableGen/CodeGenInstruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenInstruction.h?rev=95808&r1=95807&r2=95808&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenInstruction.h (original)
+++ llvm/trunk/utils/TableGen/CodeGenInstruction.h Wed Feb 10 15:22:51 2010
@@ -41,6 +41,7 @@
       static ConstraintInfo getEarlyClobber() {
         ConstraintInfo I;
         I.Kind = EarlyClobber;
+        I.OtherTiedOperand = 0;
         return I;
       }
       





More information about the llvm-commits mailing list