https://bugzilla.novell.com/show_bug.cgi?id=681732
https://bugzilla.novell.com/show_bug.cgi?id=681732#c0 Summary: Subtracting a uint from 0u results in incorrect IL Classification: Mono Product: Mono: Compilers Version: 2.10.x Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=420794) --> (http://bugzilla.novell.com/attachment.cgi?id=420794) Test case User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 ( .NET CLR 3.5.30729; .NET4.0E) Consider the attached testcase. For the code "1u - start" the generated IL is: IL_003d: ldc.i4.1 IL_003e: ldloc.0 IL_003f: sub Which is correct. The IL for "0u - start" is not so correct: IL_002d: ldloc.0 This happens with gmcs 2.10.1.0. Reproducible: Always -- 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
