+2005-08-02 Raphael Neider <rneider AT web.de>
+
+ * src/pic16/gen.c (genPackBits): removed deprecated warning
+ * (genGenPointerSet): fixed bitfield detection
+
2005-08-02 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/msm8xc154s.h: Removed PT2 definition, now in 8052.h.
pic16_emitpcode(POC_MOVFW, pic16_popCopyReg(&pic16_pc_indf0));
}
- // warnings will be emitted below
+ // warnings will be emitted below (if desired)
//pic16_emitpcomment ("; =?= genPackBits, GPOINTER...");
//werror(W_POSSBUG2, __FILE__, __LINE__);
break;
// this should work in all cases (as soon as gptrget/gptrput work on EEPROM and PROGRAM MEMORY)
//pic16_emitpcomment ("; =?= genPackBits, GPOINTER access");
- werror(W_POSSBUG2, __FILE__, __LINE__);
+ //werror(W_POSSBUG2, __FILE__, __LINE__);
break;
default:
operand *result, iCode *ic)
{
int size;
- sym_link *retype = getSpec(operandType(right));
+ sym_link *retype = getSpec(operandType(result));
DEBUGpic16_emitcode ("; ***","%s %d",__FUNCTION__,__LINE__);
move it to the correct pointer register */
type = operandType(result);
etype = getSpec(type);
+
/* if left is of type of pointer then it is simple */
if (IS_PTR(type) && !IS_FUNC(type->next)) {
p_type = DCL_TYPE(type);