Bug 47141 - Spim 6.5 bugfix patch
Bug#: 47141 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: mr_bones_@gentoo.org Reported By: lewk@gentoo.org
Component: Ebuilds
URL: 
Summary: Spim 6.5 bugfix patch
Keywords:  
Status Whiteboard: 
Opened: 2004-04-07 14:26 0000
Description:   Opened: 2004-04-07 14:26 0000
There is a bug in spim 6.5 where doing the following would generate the wrong
code:

lw      $s0, FRAMESIZE-4($sp) 

A way to get around this is to do -4+FRAMESIZE($sp).  
Here is a patch to fix this bug.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Luke Macken (RETIRED) 2004-04-07 14:26:58 0000 -------
Created an attachment (id=28852) [details]
A trivial patch to fix this bug

------- Comment #2 From Mr. Bones. 2004-04-09 19:22:02 0000 -------
Can you give an example of the wrong code please?  Ideal would be code
generated before and after your patch.  Thanks.

------- Comment #3 From Mr. Bones. 2004-04-10 19:11:27 0000 -------
Ok, confirmed bug and patch with upstream.  Added to CVS.  Thanks for
the bug report and patch.