https://bugzilla.novell.com/show_bug.cgi?id=374719
Summary: Optimize IL code emitted on binary `|' operator Product: Mono: Compilers Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: mono-bugs@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- We emit pretty bad code for `x | (true|false)' binary boolean operations. This is more visible when used together with nullable types. public static class D { static bool? debugging = null; public static void Main () { debugging |= true; } } The fix is to extend binary optimizations currently done in Binary::DoResolve. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs