From 7a863e5cda78ccb82a50c49a239727288f31ae57 Mon Sep 17 00:00:00 2001 From: bbbradsmith Date: Thu, 16 May 2019 18:01:44 -0400 Subject: [PATCH] bug895 test: more specific description comment --- test/val/bug895.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/val/bug895.c b/test/val/bug895.c index 2ab2a2117..c4892d7b1 100644 --- a/test/val/bug895.c +++ b/test/val/bug895.c @@ -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"