From 9711153425124e43541b14a52369899de6f66b79 Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Mon, 24 Oct 2005 13:49:38 +0000 Subject: [PATCH] * src/SDCCicode.c (ast2iCode): reverted to 1.224 because of regression: all chars are promoted to int; promotion should be handled in SDCCast.c git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3907 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 5 +++++ src/SDCCicode.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd576419..97e4a194 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-24 Bernhard Held + + * src/SDCCicode.c (ast2iCode): reverted to 1.224 because of regression: + all chars are promoted to int; promotion should be handled in SDCCast.c + 2005-10-15 Jesus Calvino-Fraga * device/lib/_strcmp.c: Fixed bug 1326457 diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 831dfd6d..932820e9 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -4253,15 +4253,6 @@ ast2iCode (ast * tree,int lvl) #endif case '~': - { - sym_link *ltype = operandType (left); - operand *op = geniCodeUnary (geniCodeRValue (left, FALSE), tree->opval.op); - if ((SPEC_NOUN(ltype) == V_CHAR) && IS_UNSIGNED(ltype)) - { - setOperandType (op, INTTYPE); - } - return op; - } case RRC: case RLC: case SWAP: -- 2.30.2