[LLVMbugs] [Bug 1327] NEW: Recent changes to constmerge breaks Qt

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Apr 14 05:57:19 PDT 2007


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

           Summary: Recent changes to constmerge breaks Qt
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru


Consider the attached testscase.

Running ./opt -constmerge results:

opt: /home/asl/proj/llvm/src/include/llvm/ADT/ilist:120: typename
bidirectional_iterator<NodeTy, ptrdiff_t>::reference
llvm::ilist_iterator<NodeTy>::operator*() const [with NodeTy =
llvm::GlobalVariable]: Assertion `Traits::getNext(NodePtr) != 0 &&
"Dereferencing end()!"' failed.

Backing out recent IPO/ConstantMerge.cpp patch fixes the problem.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list