[llvm-commits] [127802] Fix thinko, fixing PR1421.
clattner at apple.com
clattner at apple.com
Tue May 29 23:23:42 PDT 2007
Revision: 127802
Author: clattner
Date: 2007-05-29 23:23:41 -0700 (Tue, 29 May 2007)
Log Message:
-----------
Fix thinko, fixing PR1421.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-types.cpp
Modified: apple-local/branches/llvm/gcc/llvm-types.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-types.cpp 2007-05-30 05:38:39 UTC (rev 127801)
+++ apple-local/branches/llvm/gcc/llvm-types.cpp 2007-05-30 06:23:41 UTC (rev 127802)
@@ -587,7 +587,7 @@
unsigned FieldBitOffset = getFieldOffsetInBits(Field);
if (GCCTypeOverlapsWithPadding(TREE_TYPE(Field),
- PadStartBits+FieldBitOffset, PadSizeBits))
+ PadStartBits-FieldBitOffset, PadSizeBits))
return true;
}
return false;
More information about the llvm-commits
mailing list