From 650ff4697f36132fd3cf89d71294f0ad34bd4979 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Fri, 17 Sep 2021 19:28:21 -0500 Subject: [PATCH] Update release notes to include a bug fix in ORCALib. Also, update a comment to reflect the actual behavior. --- Gen.pas | 2 +- cc.notes | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Gen.pas b/Gen.pas index 5983d02..f61bb24 100644 --- a/Gen.pas +++ b/Gen.pas @@ -6304,7 +6304,7 @@ procedure GenTree {op: icptr}; { } { parameters: } { op - pc_mov instruction } - { duplicate - should the source address be left on the } + { duplicate - should the dest address be left on the } { stack? } var diff --git a/cc.notes b/cc.notes index 9a7cf7d..bd9b076 100644 --- a/cc.notes +++ b/cc.notes @@ -1,10 +1,10 @@ -ORCA/C 2.2.0 B5 +ORCA/C 2.2.0 B6 Copyright 1997, Byte Works Inc. Updated by Stephen Heumann and Kelvin Sherlock, 2017-2021 -- Change List -------------------------------------------------------------- -2.2.0 B5 1. Bugs squashed. See bug notes, below. +2.2.0 B6 1. Bugs squashed. See bug notes, below. 2. New language features added (mainly features from C99 and C11). See "New Language Features," below. @@ -1226,6 +1226,10 @@ int foo(int[42]); 164. The fields of const-qualified structs and unions were not treated as being const-qualified. Neither were the members of arrays declared like "const T a", where T is a typedef'd array type. Now such fields and array members are treated as const-qualified, so assignments to them will give errors. +(Bug fixes below here were added in ORCA/C 2.2.0 B6.) + +165. When assigning to multiple structures or unions using successive = operators (e.g. s1=s2=s3), assignments other than the rightmost one might store incorrect values, depending on the size of the structures or unions. + -- Bugs from C 2.1.0 that have been fixed ----------------------------------- 1. In some situations, fread() reread the first 1K or so of the file.