From: sandeep Date: Sat, 10 Nov 2001 06:37:34 +0000 (+0000) Subject: don't understand why all bit operations operands need to be unsigned changed X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=99aff8727f3787b99380707823cafbe693ddab35;p=fw%2Fsdcc 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 --- 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);