]> thyrsus.com Git - intercal.git/commitdiff
Fix optimiser bug: select with LHS a constant with more than 16 consecutive zeros
authorAlex Smith <ais523@bham.ac.uk>
Thu, 2 Sep 2010 19:53:21 +0000 (20:53 +0100)
committerAlex Smith <ais523@bham.ac.uk>
Thu, 2 Sep 2010 19:53:21 +0000 (20:53 +0100)
src/dekludge.c

index 8c6cf498dc7e9a603da0133faa28fb6e49de19cf..ddcff8dcf751dafac18c4aa0b6783e6cb1690fdc 100644 (file)
@@ -463,7 +463,7 @@ void checknodeactbits(node *np)
     /*@-nullderef@*/
     np->optdata = ick_iselect((unsigned)np->lval->optdata, (unsigned)np->rval->optdata);
     /*@=nullderef@*/
-    temp=16;
+    temp=32;
     while(temp--) np->optdata|=(np->optdata>>1); /* fill in gaps in optdata */
     break;