for better fix of bug
1273984, compiles pic16 rand.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4631
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-02-12 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/SDCCicode.c (geniCodeAssign): return (itemp) right instead of left
+ for better fix of bug 1273984, compiles pic16 rand.c
+
2007-02-12 Borut Razem <borut.razem AT siol.net>
* src/pic16/main.c: fixed pic16 standard library directory bug
ic->supportRtn = 1;
ic->nosupdate = nosupdate;
- return left;
+ /* left could be a pointer assignment,
+ return the properly casted right instead */
+ return right;
}
/*-----------------------------------------------------------------*/