[LLVMbugs] [Bug 11592] New: llvm Codegen crashes when debugging and optimization enabled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 15 15:00:12 PST 2011


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

             Bug #: 11592
           Summary: llvm Codegen crashes when debugging and optimization
                    enabled
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jpbonn-keyword-llvmbug.a51747 at corniceresearch.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7750
  --> http://llvm.org/bugs/attachment.cgi?id=7750
reduced test case for sparc

The attached files cause the following problem when compiling for Sparc: 

llc:
/home/jpbonn/Documents/clang/llvm/include/llvm/CodeGen/MachineFrameInfo.h:378:
int64_t llvm::MachineFrameInfo::getObjectOffset(int) const: Assertion
`unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && "Invalid Object Idx!"'
failed.

The reduced test case is attached.

The attached .i file also seem to causes  problems for sparcv9, xcore, hexagon
and mblaze when compiled with clang. I'm not sure if they are all related.

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