From 99aff8727f3787b99380707823cafbe693ddab35 Mon Sep 17 00:00:00 2001 From: sandeep Date: Sat, 10 Nov 2001 06:37:34 +0000 Subject: [PATCH] don't understand why all bit operations operands need to be unsigned changed this, since it was causing BIG problems with CSE git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1549 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCicode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 4ca47ca5..b7b7841c 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -2292,7 +2292,8 @@ geniCodeBitwise (operand * left, operand * right, iCode *ic; // bitwise operations must be done unsigned - SPEC_USIGN(resType)=1; + // WHY ? causes very bad things to happen with CSE + // SPEC_USIGN(resType)=1; left = geniCodeCast (resType, left, TRUE); right = geniCodeCast (resType, right, TRUE); -- 2.47.2