[Mono-list] runtime bug?

ville vi64pa@koti.soon.fi
Wed, 6 Nov 2002 22:41:34 +0200


When I run the followin program:

--
using System;
using System.Data;
using System.Data.SqlTypes;

namespace test
{
        public class tester
        {
                public tester() {}

                public static void Main ()
                {
                        float a  = 1e20f;
                        try {
                                checked {
                                        int i = (int)a;
                                }
                        } catch (Exception e) {
                                System.Console.WriteLine (e);
                        }
                }
        }
}

--

I get following result:

** (test.exe:1080): WARNING **: tree does not match in 00 test.tester:Main (): 
0x0008
 (STIND_I4 ADDR_L[ESI|2] (CONV_OVF_I4 (LDIND_R4 ADDR_L[1])))

        (STIND_I4 ADDR_L[ESI|2] (CONV_OVF_I4 (LDIND_R4 ADDR_L[1])))
        BR

** ERROR **: file emit-x86.c: line 734 (mono_label_cfg): should not be reached
aborting...
Aborted

With w2k it worked as it sould work.

ville