http://llvm.org/bugs/show_bug.cgi?id=8671
Duncan Sands <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Duncan Sands <[email protected]> 2010-11-23 10:02:44 CST --- The function @retzerosec takes two arguments, as seen here: define void @retzerosec(%struct.U1* noalias sret %agg.result, %struct.U1* byval align 4 %ux) nounwind { But when you call it you only pass one argument, as seen here: call void (%struct.U1*, ...)* bitcast (void (%struct.U1*, %struct.U1*)* @retzerosec to void (%struct.U1*, ...)*)(%struct.U1* noalias sret %temp) nounwind This results in undefined behaviour such as you are seeing. -- 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
