[LLVMbugs] [Bug 185] [indvars] Crash when deleting dead instructions

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Mon Dec 15 09:38:00 PST 2003


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|gccas crashes when          |[indvars] Crash when
                   |assembling the following    |deleting dead instructions
                   |program                     |
   Target Milestone|1.2                         |1.1
            Version|1.1                         |1.0

------- Additional Comments From sabre at nondot.org  2003-12-15 11:37 -------
The problem was that if an instruction ended up on the worklist more than once,
it would get deleted more than once.  Whoops.

Testcase here:

Bugfix here:

I merged this to the 1.1 branch because it is an obvious (safe) fix and an
obvious problem that could effect a lot of people.  I hope this is ok.  :)  If
not, the patch can be reverted.


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