[LLVMbugs] [Bug 3387] New: ICE when ENABLE_EXPENSIVE_CHECKS is enabled

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 24 03:44:41 PST 2009


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

           Summary: ICE when ENABLE_EXPENSIVE_CHECKS is enabled
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wendling at apple.com
                CC: llvmbugs at cs.uiuc.edu


$ ./llvm.obj/Debug+Checks/bin/llc -o - bugpoint-reduced-simplified.bc 
/usr/include/c++/4.0.0/bits/stl_heap.h:326:error: elements in iterator 
    range [__first, __last) do not form a heap with respect to the
    predicate __comp.

Objects involved in the operation:
iterator "__first" @ 0x0xbffff0ec {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPN4llvm5SUnitEN10__gnu_norm6vectorIS5_SaIS5_EEEEE\
N15__gnu_debug_def6vectorIS5_S9_EEEE (mutable iterator);
  state = dereferenceable (start-of-sequence);
  references sequence with type
`N15__gnu_debug_def6vectorIPN4llvm5SUnitESaIS3_EEE' @ 0x0xbffff0ec
}
iterator "__last" @ 0x0xbffff0d8 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPN4llvm5SUnitEN10__gnu_norm6vectorIS5_SaIS5_EEEEE\
N15__gnu_debug_def6vectorIS5_S9_EEEE (mutable iterator);
  state = past-the-end;
  references sequence with type
`N15__gnu_debug_def6vectorIPN4llvm5SUnitESaIS3_EEE' @ 0x0xbffff0d8
}
0   llc               0x00a4c1dc char const* std::find<char const*, char>(char
const*, char const*, char const&) + 296
1   llc               0x00a4c98d llvm::sys::RemoveFileOnSignal(llvm::sys::Path
const&, std::string*) + 517
2   libSystem.B.dylib 0x924522bb _sigtramp + 43
3   libSystem.B.dylib 0xffffffff _sigtramp + 1840962927
4   libSystem.B.dylib 0x924c623a raise + 26
5   libSystem.B.dylib 0x924d2679 abort + 73
6   libstdc++.6.dylib 0x9417e6f9 __gnu_debug::_Error_formatter::_M_error()
const + 465
7   llc               0x005b73bd void
std::pop_heap<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::SUni\
t**, __gnu_norm::vector<llvm::SUnit*, std::allocator<llvm::SUnit*> > >,
__gnu_debug_def::vector<llvm::SUnit*, std::allo\
cator<llvm::SUnit*> > >, (anonymous
namespace)::bu_ls_rr_sort>(__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator\
<llvm::SUnit**, __gnu_norm::vector<llvm::SUnit*, std::allocator<llvm::SUnit*> >
>, __gnu_debug_def::vector<llvm::SUnit*\
, std::allocator<llvm::SUnit*> > >,
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<llvm::SUnit**,
__gnu_norm:\
:vector<llvm::SUnit*, std::allocator<llvm::SUnit*> > >,
__gnu_debug_def::vector<llvm::SUnit*, std::allocator<llvm::SUni\
t*> > >, (anonymous namespace)::bu_ls_rr_sort) + 701
8   llc               0x005b75a2 std::priority_queue<llvm::SUnit*,
__gnu_debug_def::vector<llvm::SUnit*, std::allocator\
<llvm::SUnit*> >, (anonymous namespace)::bu_ls_rr_sort>::pop() + 244
9   llc               0x005b77ca llvm::PriorityQueue<llvm::SUnit*,
__gnu_debug_def::vector<llvm::SUnit*, std::allocator\
<llvm::SUnit*> >, (anonymous namespace)::bu_ls_rr_sort>::erase_one(llvm::SUnit*
const&) + 514
10  llc               0x005b0d78 (anonymous
namespace)::bu_ls_rr_sort::operator()(llvm::SUnit const*, llvm::SUnit const\
*) const + 9562
11  llc               0x005b14ff (anonymous
namespace)::bu_ls_rr_sort::operator()(llvm::SUnit const*, llvm::SUnit const\
*) const + 11489
12  llc               0x007a1cf4 llvm::ScheduleDAG::Run(llvm::SelectionDAG*,
llvm::MachineBasicBlock*, llvm::ilist_iter\
ator<llvm::MachineInstr>, llvm::ilist_iterator<llvm::MachineInstr>) + 186
13  llc               0x0062e665 llvm::SelectionDAGISel::Schedule() + 155
14  llc               0x00630e04 llvm::SelectionDAGISel::CodeGenAndEmitDAG() +
3276
15  llc               0x006329f9
llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::ilist_iterator<llvm:\
:Instruction>, llvm::ilist_iterator<llvm::Instruction>) + 575
16  llc               0x00633233
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, \
llvm::MachineModuleInfo*, llvm::DwarfWriter*, llvm::TargetInstrInfo const&) +
2085
17  llc               0x00633603
llvm::SelectionDAGISel::runOnFunction(llvm::Function&) + 893
18  llc               0x0099c5b8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 270
19  llc               0x0099c80e
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 116
20  llc               0x0099c994
llvm::FunctionPassManager::run(llvm::Function&) + 156
21  llc               0x000037dd main + 2639
22  llc               0x00002536 start + 54
23  llc               0x00000004 start + 18446744073709542148


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