https://bugzilla.novell.com/show_bug.cgi?id=502582

https://bugzilla.novell.com/show_bug.cgi?id=502582#c11


Rodrigo Kumpera <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
       InfoProvider|[email protected]         |

--- Comment #11 from Rodrigo Kumpera <[email protected]> 2011-02-24 10:55:11 
UTC ---
CSC generates broken code too then.

Play attention to what's on the evaluatio stack:

    .locals init (
        float64*    V_0,
        float64*    V_1)
    IL_0000:  ldc.i4.2 
[i4]
    IL_0001:  ldc.i4.8 
[i4, i4]
    IL_0002:  mul.ovf.un 
[i4]
    IL_0003:  localloc 
[void*]
    IL_0005:  stloc.0 
[]
    IL_0006:  ldloc.0 
[float*]
    IL_0007:  ldloc.0 
[float*, float*]
    IL_0008:  ldc.i4.8 
[float*,float*, i4]
    IL_0009:  add 
[float*, float*]
    IL_000a:  ldc.r8 0.
[float*, float*, double]
    IL_0013:  dup 
[float*, float*, double, double]
    IL_0014:  stloc.1 >>this is wrong, you're trying to store a double on a
float* variable<<
[float*, float*, double]
    IL_0015:  stind.r8 
[float*]
    IL_0016:  ldloc.1 
[float*, double]
    IL_0017:  stind.r8 
[]
    IL_0018:  ret

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to