[LLVMbugs] [Bug 4124] null ptr dereferenced

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 13 21:28:37 PDT 2009


Lang Hames <lhames at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Lang Hames <lhames at gmail.com>  2009-05-13 23:28:24 ---
This was being caused by TwoAddressInstructionPass::FindLastUseInMBB returning
an instruction that is not, in fact, the nearest previous use. This in turn
lead to incorrect live interval information and finally the crash during
coalescing. The fault occured because FindLastUseInMBB assumed reg_iterator
would iterate over defs/uses in the order they appear in the basic block. I'm
not sure if this assumption _should_ hold, but it certainly didn't in this

Fix committed here:

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