]> git.gag.com Git - fw/sdcc/commitdiff
Stupid temporary fix for bug #467035 (throws a warning). At least it keeps the regres...
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 6 Oct 2001 15:06:24 +0000 (15:06 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 6 Oct 2001 15:06:24 +0000 (15:06 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1360 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCloop.c

index fc928630bd241126a69b05e6f05ffcf700181dc4..0be4da81cb3dcaf2976c81905cb3f69313716e4a 100644 (file)
@@ -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));