[llvm-commits] CVS: gcc-3.4/gcc/llvm-expand.c

Brian Gaeke gaeke at cs.uiuc.edu
Tue Feb 3 12:30:03 PST 2004


Changes in directory gcc-3.4/gcc:

llvm-expand.c updated: 1.6 -> 1.7

---
Log message:

Fix syntax error: declare ElVal along with the declarations, before any
statements, in this block.


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

Index: gcc-3.4/gcc/llvm-expand.c
diff -u gcc-3.4/gcc/llvm-expand.c:1.6 gcc-3.4/gcc/llvm-expand.c:1.7
--- gcc-3.4/gcc/llvm-expand.c:1.6	Tue Feb  3 01:59:32 2004
+++ gcc-3.4/gcc/llvm-expand.c	Tue Feb  3 12:29:24 2004
@@ -3526,6 +3526,7 @@
          */
         unsigned FieldSize = 0;
         tree     FieldSizeTree = DECL_SIZE(field);
+        llvm_value *ElVal;
 
         /*
          * TODO:
@@ -3540,8 +3541,6 @@
          */
         assert ((FieldSizeTree != NULL_TREE) && "Struct/Union member of unknown length!");
         FieldSize = TREE_INT_CST_LOW (FieldSizeTree);
-
-        llvm_value *ElVal;
         
         assert(FieldIndex && "Structure isn't laid out by LLVM yet!");
         





More information about the llvm-commits mailing list