From fcf1baaaafcf0b72d235eac4f72642574d0e3b2a Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Thu, 2 Sep 2010 20:53:21 +0100 Subject: [PATCH] Fix optimiser bug: select with LHS a constant with more than 16 consecutive zeros --- src/dekludge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dekludge.c b/src/dekludge.c index 8c6cf49..ddcff8d 100644 --- a/src/dekludge.c +++ b/src/dekludge.c @@ -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; -- 2.43.0