[Mono-bugs] [Bug 81634][Wis] New - syntax error, order of operations, shifting
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue May 15 15:51:19 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by wasabi at larvalstage.net.
http://bugzilla.ximian.com/show_bug.cgi?id=81634
--- shadow/81634 2007-05-15 15:51:19.000000000 -0400
+++ shadow/81634.tmp.4001 2007-05-15 15:51:19.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 81634
+Product: Mono: Compilers
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: wasabi at larvalstage.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: syntax error, order of operations, shifting
+
+if (storedOffset >= 0 && storedLength + 4 < opt_len >> 3) {
+
+This produces a number of syntax errors. If you force the order of
+operations, such as:
+
+if (storedOffset >= 0 && (storedLength + 4) < (opt_len >> 3)) {
+
+Then it compiles fine. The first form compiles in the MS compiler. I am
+using gmcs 1.2.3.1.
More information about the mono-bugs
mailing list