http://d.puremagic.com/issues/show_bug.cgi?id=5455



--- Comment #3 from Don <clugd...@yahoo.com.au> 2011-01-18 12:44:11 PST ---
I think there's something wrong in cgcod.c, allocreg(). Might be good to have
an assert on line 1920:


                r &= mLSW;                      /* see if there's an LSW also
*/
                if (r)
                    lsreg = findreg(r);
                else if (lsreg == -1)   /* if don't have LSW yet */
                {       retregs &= mLSW;
+                   assert(retregs);
                    goto L3;
                }
            }

This fails. What happens is, we've found a register for the MSW. But we got
called with no available LSW registers!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to