From: SourceForge.net <no...@so...> - 2008-01-20 00:16:04
|
Feature Requests item #1793872, was opened at 2007-09-13 14:21 Message generated for change (Comment added) made by borutr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1793872&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Rich Walker (richwalker) >Assigned to: Borut Ražem (borutr) Summary: multiply by -1 not collapsed Initial Comment: SDCC (for pic16) doesn't turn short a; void foo(void) { a = -1*a; } into a = - a; sdcc -c -mpic16 --denable-peeps --optimize-goto --optimize-cmp --optimize-df --verbose --i-code-in-asm main.c sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.2 #4901 (Aug 20 2007) (UNIX)rw@woodstock:~/Projects/sdcc_test$ ---------------------------------------------------------------------- >Comment By: Borut Ražem (borutr) Date: 2008-01-20 01:15 Message: Logged In: YES user_id=568035 Originator: NO Re-qualified to f Feature request. Fixed multiplication with -1 in svn revision #4996. Division with -1 still has to be fixed. Borut ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1793872&group_id=599 |