[Issue 6215] ICE(el.c) DMD segfaults when built on system with XCode	4.2
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Aug 12 04:25:01 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6215
--- Comment #6 from klickverbot <code at klickverbot.at> 2011-08-12 04:24:54 PDT ---
The difference in the LLVM IR generated by Clang for the ezero change is only:
-  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %17, i8* getelementptr inbounds
(%struct.elem* @_ZZ9el_callocvE5ezero, i32 0, i32 0), i32 80, i32 16, i1 false)
+  call void @llvm.memset.p0i8.i32(i8* %17, i8 0, i32 80, i32 1, i1 false)
Note that the second last parameter to memcpy is the alignment (16 bit), but
GDB says that »(int)e % 16« is 8.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list