[LLVMbugs] [Bug 10981] New: __builtin_object_size codegens infinite loop at -01 and greater

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 21 16:48:39 PDT 2011


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

           Summary: __builtin_object_size codegens infinite loop at -01
                    and greater
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bobbypowers at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7318)
 --> (http://llvm.org/bugs/attachment.cgi?id=7318)
I tried to narrow down the function into a standalone test case, but the test
case works.

I tried to narrow it down to a test case, but the test case works.  I'm not
really sure what to do about this. I've included the function in question, the
gcc output (at -0s), and the clang output at -Os and -O0, along with the build
command lines and the (working, so not super useful) reduced test case.  Let me
know what else I can provide to help track this down.  I'm compiling for 32-bit
ELF on a 64-bit machine, if that matters.  And this is on trunk.

[bpowers at fina src]$ clang --version
clang version 3.0 (trunk 140270)
Target: x86_64-unknown-linux-gnu
Thread model: posix

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