[LLVMbugs] [Bug 21182] New: link time optimization fails for huffman loop

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 7 02:23:27 PDT 2014


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

            Bug ID: 21182
           Summary: link time optimization fails for huffman loop
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: middag at users.sourceforge.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When I compile the following code using clang with -flto it fails by printing
900. Without the -flto option it correctly prints 801.

I checked out the LLVM code (using clang -flto -S simple.c) nothing seems
incorrect to me. And compiling using clang 3.5 llc gives indeed the correct
value. But compiling using clang 3.5 opt gives me again the incorrect value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141007/24dcddda/attachment.html>


More information about the llvm-bugs mailing list