issue-#128 Assignment of named empty string to SHORTCHARs
Posted: Sun Sep 11, 2016 6:08 am
On behalf of Doug I have created this voting for merging the changes of issue-#128.
This issue fixes a very surprising bug in the compiler that lead to incorrect code in the following case:
Assignment of a named empty string constant to a variable of type ARRAY OF SHORTCHAR did not work.
The bug is related with an optimization in the compiler front end where such an assignment is
turned into an assignment of 0X to the first array element. The fix has been done at the same place, i.e. it can
only affect this specific optimization and nothing else.
For the diff see http://redmine.blackboxframework.org/pr ... c73e8746c7.
- Josef
This issue fixes a very surprising bug in the compiler that lead to incorrect code in the following case:
Assignment of a named empty string constant to a variable of type ARRAY OF SHORTCHAR did not work.
The bug is related with an optimization in the compiler front end where such an assignment is
turned into an assignment of 0X to the first array element. The fix has been done at the same place, i.e. it can
only affect this specific optimization and nothing else.
For the diff see http://redmine.blackboxframework.org/pr ... c73e8746c7.
- Josef