[llvm-branch-commits] [llvm-gcc-branch] r104609 - in /llvm-gcc-4.2/branches/Apple/Hartnell: ./ gcc/llvm-convert.cpp

Stuart Hastings stuart at apple.com
Tue May 25 09:26:56 PDT 2010


Author: stuart
Date: Tue May 25 11:26:56 2010
New Revision: 104609

URL: http://llvm.org/viewvc/llvm-project?rev=104609&view=rev
Log:
Revert r104559; not for the Hartnell branch.  Radar 7980096.

Modified:
    llvm-gcc-4.2/branches/Apple/Hartnell/   (props changed)
    llvm-gcc-4.2/branches/Apple/Hartnell/gcc/llvm-convert.cpp

Propchange: llvm-gcc-4.2/branches/Apple/Hartnell/
------------------------------------------------------------------------------
    svn:mergeinfo = /llvm-gcc-4.2/trunk:104523

Modified: llvm-gcc-4.2/branches/Apple/Hartnell/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Hartnell/gcc/llvm-convert.cpp?rev=104609&r1=104608&r2=104609&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Hartnell/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Hartnell/gcc/llvm-convert.cpp Tue May 25 11:26:56 2010
@@ -7293,7 +7293,7 @@
     // adjust FieldPtr so that it is close enough to the bitfield that
     // *FieldPtr contains the first needed bit.  Be careful to make sure that
     // the pointer remains appropriately aligned.
-    if (BitStart >= LLVMValueBitSize) {
+    if (BitStart > LLVMValueBitSize) {
       // In this case, we know that the alignment of the field is less than
       // the size of the field.  To get the pointer close enough, add some
       // number of alignment units to the pointer.





More information about the llvm-branch-commits mailing list