[LLVMbugs] [Bug 10031] New: crash when building with -O3

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 26 17:46:09 PDT 2011


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

           Summary: crash when building with -O3
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6656)
 --> (http://llvm.org/bugs/attachment.cgi?id=6656)
repro

With the current trunk version ( 132167 ):

thakis$ clang++ repro.ii   -O3
Assertion failed: (HasInsideLoopSuccs && "Loop block has no in-loop
successors!"), function verifyLoop, file
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/include/llvm/Analysis/LoopInfo.h,
line 458.
0  clang             0x0000000101716512 PrintStackTrace(void*) + 34
1  clang             0x0000000101717363 SignalHandler(int) + 707
2  libSystem.B.dylib 0x00007fff8064767a _sigtramp + 26
3  clang             0x0000000100000000 __dso_handle + 0
4  clang             0x000000010001a5c2 __assert_rtn + 66
5  clang             0x00000001014c8b0a llvm::LoopBase<llvm::BasicBlock,
llvm::Loop>::verifyLoop() const + 2858
6  clang             0x00000001014cbbbb
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1627
7  clang             0x00000001016474c0
llvm::FPPassManager::runOnFunction(llvm::Function&) + 752
8  clang             0x000000010147f051 (anonymous
namespace)::CGPassManager::RunPassOnSCC(llvm::Pass*, llvm::CallGraphSCC&,
llvm::CallGraph&, bool&, bool&) + 273
9  clang             0x000000010147fad1 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) + 1553
10 clang             0x00000001016491cf
llvm::MPPassManager::runOnModule(llvm::Module&) + 607
11 clang             0x00000001016494d1
llvm::PassManagerImpl::run(llvm::Module&) + 177
12 clang             0x00000001016495ed llvm::PassManager::run(llvm::Module&) +
13
13 clang             0x0000000100199262 (anonymous
namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction,
llvm::raw_ostream*) + 1762
14 clang             0x0000000100199ad4
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions const&,
clang::TargetOptions const&, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) + 196
15 clang             0x00000001002d643e
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 286
16 clang             0x0000000100308874 clang::ParseAST(clang::Sema&, bool) +
436
17 clang             0x00000001002d496c clang::CodeGenAction::ExecuteAction() +
60
18 clang             0x0000000100058f11
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 433
19 clang             0x0000000100024d25
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1493
20 clang             0x000000010001b8e1 cc1_main(char const**, char const**,
char const*, void*) + 577
21 clang             0x0000000100023b7e main + 4526
22 clang             0x000000010001ad14 start + 52
23 clang             0x0000000000000025 start + 4294857541


delta's running…

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