[cfe-dev] clang-cc assert when compiling a simple program

Chris Lattner clattner at apple.com
Fri Apr 3 11:24:09 PDT 2009


On Apr 3, 2009, at 11:17 AM, Zheng, Bixia wrote:
> Hi,
>
> I hit this assertion when compiling a simple program (pasted to end  
> of msg).
>
>     assert((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0  
> &&
>            "Pointer is not sufficiently aligned");
>
Thanks Bixia, I've applied your patch here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090330/015024.html

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090403/ab82d87d/attachment.html>


More information about the cfe-dev mailing list