From: SourceForge.net <no...@so...> - 2010-07-25 11:05:10
|
Patches item #2972069, was opened at 2010-03-17 18:10 Message generated for change (Comment added) made by borutr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=2972069&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 Resolution: None Priority: 5 Private: No Submitted By: Paulne (paulne) Assigned to: Nobody/Anonymous (nobody) Summary: PIC18F compile bug in ralloc.c Patch Initial Comment: PIC18F compile bug in ralloc.c Patch Following is the diff for ralloc.c paul@studio17:~/projects/sdccb/trunk/sdcc/src/pic16$ diff ralloc.c /home/paul/projects/sdcc/src/pic16 4151,4156c4151,4156 < if ((IS_CONDITIONAL (ic) || < ((ic->op == BITWISEAND || < ic->op == '|' || < ic->op == '^') && < isBitwiseOptimizable (ic))) && < ic->next && ic->next->op == IFX && --- > if ((IS_CONDITIONAL (ic)/* ||// bug pn modify this > ( ( (ic->op == BITWISEAND) || > (ic->op == '|') || > (ic->op == '^') ) && > isBitwiseOptimizable (ic) )*/ ) && > ic->next && (ic->next->op == IFX) && 4158c4158 < OP_SYMBOL (IC_RESULT (ic))->liveTo <= ic->next->seq) --- > (OP_SYMBOL (IC_RESULT (ic))->liveTo <= ic->next->seq)) ---------------------------------------------------------------------- >Comment By: Borut Ražem (borutr) Date: 2010-07-25 13:05 Message: Can you please provide the source code which shows the original bug, if possible as an sdcc regression test? It is difficult to apply a patch if you don't know which problem you are patching... Borut ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=2972069&group_id=599 |