http://llvm.org/bugs/show_bug.cgi?id=10615

Kaelyn Uhrain <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Kaelyn Uhrain <[email protected]> 2011-08-10 13:50:05 CDT ---
(In reply to comment #3)
> The crashing line is "uint64_t ratio = array_typesize / ptrarith_typesize;" in
> Sema::CheckArrayAccess.

What fun... pointer arithmetic involving a cast to a type with a zero size. Fix
to ensure ptrarith_typesize is always at least one (to handle void*) has been
submitted as r137234.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to