[llvm-commits] CVS: llvm-gcc/gcc/llvm-types.c
Chris Lattner
lattner at cs.uiuc.edu
Sat Sep 24 13:55:42 PDT 2005
Changes in directory llvm-gcc/gcc:
llvm-types.c updated: 1.29 -> 1.30
---
Log message:
Fix CFrontend/2005-09-24-BitFieldCrash.c
---
Diffs of the changes: (+1 -1)
llvm-types.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-gcc/gcc/llvm-types.c
diff -u llvm-gcc/gcc/llvm-types.c:1.29 llvm-gcc/gcc/llvm-types.c:1.30
--- llvm-gcc/gcc/llvm-types.c:1.29 Fri Jul 29 18:14:04 2005
+++ llvm-gcc/gcc/llvm-types.c Sat Sep 24 15:55:31 2005
@@ -1312,7 +1312,7 @@
* larger size.
*/
unsigned NumPad = llvm_type_get_size(Result) - MaxSize/8;
- Result->x.Struct.MemberOffsets[1] = MaxSize;
+ Result->x.Struct.MemberOffsets[1] = MaxSize/8;
Result->Elements[1] = llvm_type_get_array(UByteTy, NumPad);
}
More information about the llvm-commits
mailing list