[LLVMbugs] [Bug 4415] New: crash with -indvars

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 19 10:27:12 PDT 2009


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

           Summary: crash with -indvars
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: arplynn at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3106)
 --> (http://llvm.org/bugs/attachment.cgi?id=3106)
Test case.

The following testcase (run with opt -indvars bugpoint-reduced-simplified.bc)
causes the following death in opt:

0   opt               0x004927f8 std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path> >::insert_unique(llvm::sys::Path const&) + 8504
1   opt               0x00492d7a std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path> >::insert_unique(llvm::sys::Path const&) + 9914
2   libSystem.B.dylib 0x970f62bb _sigtramp + 43
3   libSystem.B.dylib 0xffffffff _sigtramp + 1760599407
4   opt               0x002c8f06 llvm::Pass* llvm::callDefaultCtor<(anonymous
namespace)::LoaderPass>() + 56950
5   opt               0x002c9489 llvm::Pass* llvm::callDefaultCtor<(anonymous
namespace)::LoaderPass>() + 58361
6   opt               0x002c971c llvm::Pass* llvm::callDefaultCtor<(anonymous
namespace)::LoaderPass>() + 59020
7   opt               0x000afc12 llvm::DenseMap<llvm::BasicBlock*,
llvm::Value*, llvm::DenseMapInfo<llvm::BasicBlock*>,
llvm::DenseMapInfo<llvm::Value*> >::find(llvm::BasicBlock* const&) + 22114
8   opt               0x002a0c16 llvm::LoopInfo::print(std::ostream&,
llvm::Module const*) const + 4662
9   opt               0x00404139 llvm::FunctionPass::~FunctionPass() + 38825
10  opt               0x0040464d llvm::FunctionPass::~FunctionPass() + 40125
11  opt               0x00404d4e llvm::FunctionPass::~FunctionPass() + 41918
12  opt               0x00405224 llvm::FunctionPass::~FunctionPass() + 43156
13  opt               0x0040530b llvm::FunctionPass::~FunctionPass() + 43387
14  opt               0x00009d33 llvm::scc_iterator<llvm::CallGraphNode*,
llvm::GraphTraits<llvm::CallGraphNode*> >
llvm::scc_end<llvm::CallGraphNode*>(llvm::CallGraphNode*) + 7251
15  opt               0x00002166 _mh_execute_header + 4454
Stack dump:
0.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
1.      Running pass 'Loop Pass Manager' on function '@foo'
2.      Running pass 'Canonicalize Induction Variables' on basic block
'%while.cond'
Bus error


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