[LLVMbugs] [Bug 3381] New: instcombine: DerivedTypes.h:243: const llvm::Type* llvm:: StructType::getElementType(unsigned int) const: Assertion `N < NumContainedTys && "Element number out of range!"' failed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 24 02:13:12 PST 2009


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

           Summary: instcombine: DerivedTypes.h:243: const llvm::Type*
                    llvm::StructType::getElementType(unsigned int) const:
                    Assertion `N < NumContainedTys && "Element number out of
                    range!"' failed
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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

Another testcase from the kernel:
$ ~/llvm-bootstrap/install/bin/opt -instcombine bugpoint-reduced-simplified.bc
opt: /home/edwin/llvm-bootstrap/llvm/include/llvm/DerivedTypes.h:243: const
llvm::Type* llvm::StructType::getElementType(unsigned int) const: Assertion `N
< NumContainedTys && "Element number out of range!"' failed.
0   opt       0x0000000000783b8f
1   libc.so.6 0x00007f7124d6cf60
2   libc.so.6 0x00007f7124d6ced5 gsignal + 53
3   libc.so.6 0x00007f7124d6e3f3 abort + 387
4   libc.so.6 0x00007f7124d65dc9 __assert_fail + 233
5   opt       0x000000000052d068
6   opt       0x000000000053bd96
7   opt       0x00000000005517a5
8   opt       0x0000000000552dab
9   opt       0x00000000005534be
10  opt       0x00000000007216bb
llvm::FPPassManager::runOnFunction(llvm::Function&) + 347
11  opt       0x00000000007218f6
llvm::FPPassManager::runOnModule(llvm::Module&) + 166
12  opt       0x0000000000721297
llvm::MPPassManager::runOnModule(llvm::Module&) + 199
13  opt       0x0000000000721496 llvm::PassManagerImpl::run(llvm::Module&) +
134
14  opt       0x0000000000497176 main + 3046
15  libc.so.6 0x00007f7124d591a6 __libc_start_main + 230
16  opt       0x000000000048be49 sinh + 65
Aborted


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