[Mono-bugs] [Bug 374719] New: Optimize IL code emitted on binary `|' operator
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Mar 28 06:02:45 EDT 2008
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 at lists.ximian.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at 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.
More information about the mono-bugs
mailing list