git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4056
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2006-03-08 Raphael Neider <rneider AT web.de>
+
+ * src/pic16/main.c (_hasNativeMulFor): fixed bug #1444425
+
2006-03-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f410.h: new SiLabs mcu
/* multiplication is fixed */
/* support mul for char/int/long */
if((ic->op == '*')
- && (getSize(OP_SYMBOL(IC_LEFT(ic))->type ) < 2))return TRUE;
+ && (IS_SYMOP(IC_LEFT(ic)))
+ && (getSize(OP_SYMBOL(IC_LEFT(ic))->type ) < 2))
+ return TRUE;
#endif
#if 0
/* support div for char/int/long */
- if((getSize(OP_SYMBOL(IC_LEFT(ic))->type ) < 0)
- && (ic->op == '/'))return TRUE;
+ if((ic->op == '/')
+ && (IS_SYMOP(IC_LEFT(ic)))
+ && (getSize(OP_SYMBOL(IC_LEFT(ic))->type ) < 0))
+ return TRUE;
#endif
return FALSE;