Skip to content

Commit

Permalink
Fix Issue 13023 - optimizer produces wrong code for comparision and d…
Browse files Browse the repository at this point in the history
…ivision of ulon
  • Loading branch information
yebblies authored and WalterBright committed Jul 24, 2014
1 parent 56ed061 commit 1c85734
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/cod3.c
Expand Up @@ -2213,6 +2213,8 @@ code* gen_testcse(code *c, unsigned sz, targ_uns i)
FLcs,i, FLconst,(targ_uns) 0);
if ((I64 || I32) && sz == 2)
c->Iflags |= CFopsize;
if (I64 && sz == 8)
code_orrex(c, REX_W);
return c;
}

Expand Down

0 comments on commit 1c85734

Please sign in to comment.