[LLVMbugs] [Bug 1825] New: GVN miscompiles siod

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 25 21:29:50 PST 2007


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

           Summary: GVN miscompiles siod
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1267)
 --> (http://llvm.org/bugs/attachment.cgi?id=1267)
bugpoint reduced testcase

GVN collapses the 2 calls to strlen into one. In between them, there's a call
to "@htqs_arg_bb27" with i8* %tmp25 as a parameter. That pointer could be used
to modify the contents of %tmpbuff, and make the result of strlen different
from the first call to the second.


-- 
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.



More information about the llvm-bugs mailing list