[Issue 8095] [64 bit] Wrong code generation with spilled register, -m64 -O

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 16 08:32:49 PDT 2012


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



--- Comment #5 from Don <clugdbug at yahoo.com.au> 2012-05-16 08:34:18 PDT ---
As far as I can tell, the problem is with spilling registers.
When a spill occurs ( creg_map(), called from cgreg_assign() line cgreg.c:925)
I don't see how it marks the fastpar register as not being valid anymore.

Then in cod1.c, loaddata(), line 3818, it decides that "we can use register
that parameter was passed in".
So it doesn't bother to reload it.

Not sure how to fix this.

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


More information about the Digitalmars-d-bugs mailing list