X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCicode.c;h=2792ef48ee309608fca56056e07328998647937c;hb=4d406d0af5861a351d089724c5f3e6d1ee8f70d4;hp=4ee005545ba7f2bc5a1f51defee057d39e6da3df;hpb=a27e7a4d14e0da24074864d363eb08700d6893ed;p=fw%2Fsdcc diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 4ee00554..2792ef48 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -2559,13 +2559,6 @@ geniCodeDerefPtr (operand * op,int lvl) op->isGptr = IS_GENPTR (optype); -#ifdef JWK - /* if the pointer was declared as a constant */ - /* then we cannot allow assignment to the derefed */ - if (IS_PTR_CONST (optype)) - SPEC_CONST (retype) = 1; -#endif - op->isaddr = (IS_PTR (rtype) || IS_STRUCT (rtype) || IS_INT (rtype) ||