X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=8358dabef04cd39532565c43f9c9d7a97163d83e;hb=7314bcc78908dc4667a845b0bbb0f9023211bba5;hp=47c6e48e2b859690afaa986571d06ada8c913832;hpb=db99733b50b2a32504ff0823c378e81046a4cef9;p=fw%2Fsdcc diff --git a/ChangeLog b/ChangeLog index 47c6e48e..8358dabe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,126 @@ +2004-03-09 Bernhard Held + + * device/lib/time.c (mktime): fixed bug reported by Bert Thomas + * sdcc.spec: updated and split sdcc into 3 rpms + * src/SDCCast.c (decorateType): &|^ don't need addCast(); addCast() is + needed for literals of LEFT_OP and '+' + * src/SDCCicode.c (geniCodeLogic): I must have been braindead when I + introduced RESULT_TYPE_NOPROM + (geniCodeMultiply): fixed logic for decision if mul is optimized to + left shift + * src/SDCCsymt.c (computeType): op is int; added RESULT_TYPE_OTHER; + limited promotion to int only for '*' + * src/SDCCsymt.h (computeType): op is int, removed RESULT_TYPE_NOPROM + +2004-03-09 Hans Dorn + + * src/pic16/gen.c (genSkip), + (genc16bit2lit), (gencjneshort): commented out + (is_LitOp): new helper function, checks operand type + (genCmpEq): rewritten + +2004-03-08 Bernhard Held + + * support/regression/tests/bug-908454.c: added + +2004-03-07 Bernhard Held + + * src/SDCCast.c (addCast): fixed bug #908454 by promoting bits to char + * src/SDCCicode.c (usualBinaryConversions): op needs int type + (geniCodeCast): cosmetic, don't preserve bit storage class + (geniCodeLeftShift): added promotion + (geniCodeLogic): fixed regression + * src/SDCCsymt.c (computeTypeOr): accept bits too + (compareType): 2nd part of fix for bug #908454, needed for bitfields + +2004-03-07 Borut Razem + + * support/Util/findme.c: alloca() replaced with malloc()/free() pair + +2004-03-06 Vangelis Rokas + + * src/pic16/ralloc.c (pic16_genPackRegisters): reverted to old + version of pic16_genPackRegisters which does not check if ic is a + CAST operator, + * src/pic16/gen.c (ifxForOp): disabled new and untested code in + function cause string1.c regression test fails + +2004-03-06 Bernhard Held + + * sim/ucsim/configure.in, + * sim/ucsim/configure, + * sim/ucsim/doc/Makefile.in: use docdir + * src/SDCC.y: fixed sbit atrributes + * src/SDCCast.c (getResultTypeFromType): added support for bitfields + * src/SDCCast.c (decorateType): |^& need special promotion handling + * src/SDCCast.h, + * src/SDCCsymt.h: moved definition of RESULT_TYPE + * src/SDCCsymt.h (computeType), + * src/SDCCicode.c: computeType() needs op + * src/SDCCsymt.c (checkTypeSanity), + * doc/sddman.lyx: "plain" bitfields are unsigned + * src/SDCCsymt.c (computeTypeOr): added + * src/SDCCsymt.c (computeType): added support for bitfields, fixed + |^& ops + * src/SDCCval.c (val*): computeType() needs op + * src/SDCCval.c (valCastLiteral): fixed casting of bitfields + * support/regression/tests/onebyte.c: added tests for |^& + +2004-03-06 Hans Dorn + + * src/pic16/gen.c: (genpic16Code) use copy of printILine's output + for writing icode into asm output. + +2004-03-05 Vangelis Rokas + + * src/pic16/device.c: added some debug lines enabled + with macro DEBUG_CHECK, + * src/pic16/genarith.c: more debug in genPlus, + * (pic16_genUMult8XLit_16, pic16_genUMult8X8_16): removed, + * (pic16_genUMult16X16_16, pic16_genUMult16XLit_16): NEW, + * src/pic16/gen.c: added prototypes for pic16_genMult16X16_16, + * (aopForSym): onStack symbols are re-placed in data memspace, + and onStack flag is cleared, + * (pic16_popGetTempReg, pic16_popReleaseTempReg): modified to + copy temporary pcodeop, + * (genPcall): added warning for not updating PCLATU, + * (genFunction): removed test with IFFUNC_CALLEESAVES, its + always true for pic16 port, + * (genMultOneWord): NEW, supports integer multiplication, + * (genMult): modified to call genMultOneWord, + * (ifxForOp): added warning when return NULL, + * src/pic16/glue.c (pic16emitRegularMap): symbol implicit + flag is set before call to operandFromSymbol for implicit + added structures, + * src/pic16/main.c (_pic16_finaliseOptions): options.float_rent, + options.intlong_rent are set by default, + * (_hasNativeMulFor): modified to allow port generation of integer + multiplication, + * src/pic16/ralloc.c (pic16_allocDirReg): commented out line which + set regtype to REG_SFR for all registers, restricting seting the + accessBank flag for registers 0<= r < 0x80 and 0xf80<=r<=0xfff, + +2004-03-05 Frieder Ferlemann + + * src/mcs51/peephole.def: added 251.b and 253.x. 253.x are applied + more than 500 times in the regression tests + +2004-03-05 Erik Petrich + + * support/Util/SDCCerr.h, + * support/Util/SDCCerr.c, + * src/SDCC.y (struct_or_union_specifier, enum_specifier, + enumerator_list), + * src/SDCCsymt.c (addSymChain): show location of oriignal definition + for symbol conflicts. + * support/valdiags/tests/enum.c, + * support/valdiags/tests/tentdecl.c, + * support/valdiags/tests/struct.c: expect possible error messages + referring to original symbol definitions. + * src/SDCC.y (struct_or_union_specifier, struct_declarator), + * src/SDCCsymt.h, + * src/SDCCsymt.c (promoteAnonStructs): support anonymous struct/union + 2004-03-03 Hans Dorn * src/pic16/gen.c (gencjne): fixed for right=REG / left=LIT