From: johanknol Date: Sat, 6 Oct 2001 15:06:24 +0000 (+0000) Subject: Stupid temporary fix for bug #467035 (throws a warning). At least it keeps the regres... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=bbf4fa557b2639260fc2ac97810046501f375fcc;p=fw%2Fsdcc Stupid temporary fix for bug #467035 (throws a warning). At least it keeps the regression tests going. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1360 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCloop.c b/src/SDCCloop.c index fc928630..0be4da81 100644 --- a/src/SDCCloop.c +++ b/src/SDCCloop.c @@ -798,6 +798,13 @@ basicInduction (region * loopReg, eBBlock ** ebbs, int count) OP_SYMBOL (IC_RESULT (indIc))->isind = 1; ip = newInduction (IC_RIGHT (ic), dic->op, litValue, indIc, NULL); + if (1) { + fprintf (stderr, "%s:%d: stupid way to avoid bug #467035, but\n" + "this will keep the regressions tests going.\n", + __FILE__, __LINE__); + continue; + } + /* replace the inducted variable by the iTemp */ replaceSymBySym (loopReg->regBlocks, IC_RESULT (ic), IC_RIGHT (ic));