Browse Source

+ bug0193

Jonas Maebe 27 years ago
parent
commit
b6c228b232
2 changed files with 16 additions and 1 deletions
  1. 14 0
      bugs/bug0193.pp
  2. 2 1
      bugs/readme.txt

+ 14 - 0
bugs/bug0193.pp

@@ -0,0 +1,14 @@
+{$Q+}
+var i: integer;
+    b: byte;
+
+begin
+  i := 32767;
+  i := i + 15;
+  b := 255;
+  b := b + 18;
+  b := 255;
+  b := b * 8;
+  b := 255;
+  b := b * 17
+End.

+ 2 - 1
bugs/readme.txt

@@ -255,4 +255,5 @@ bug0189.pp   cant compare adresses of function variables !!
 bug0190.pp   can't have typecast for var params ??
 bug0191.pp   missing vecn constant evaluation
 bug0192.pp   can't compare boolean result with true/false, because the
-             boolean result is already in the flags
+             boolean result is already in the flags
+bug0193.pp   overflow checking for 8 and 16 bit operations wrong