1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

bug895 test: more specific description comment

This commit is contained in:
bbbradsmith 2019-05-16 18:01:44 -04:00 committed by Oliver Schmidt
parent df90a005cd
commit 7a863e5cda

View File

@ -1,13 +1,13 @@
/** This test is related to GitHub issue 895
** https://github.com/cc65/cc65/issues/895
**
** The OptCmp8 optimization attempts to eliminate an unnecessary
** The OptCmp8 optimization attempted to eliminate an unnecessary
** comparison and branch when the operands of the comparison are
** known to be constant at compile time.
**
** For 8-bit types it worked well, but for larger types it failed
** to generate correct code. The bug manifest as a branch on an
** uninitialized carry flag.
** For 8-bit types it worked well, but for 16-bit types it failed
** to generate correct code for some cases. The bug manifest as a
** branch on an uninitialized carry flag.
*/
#include "unittest.h"