[Bug tree-optimization/26944] [4.1/4.2 Regression] -ftree-ch generates worse code

dann at godzilla dot ics dot uci dot edu gcc-bugzilla@gcc.gnu.org
Wed May 3 21:53:00 GMT 2006



------- Comment #8 from dann at godzilla dot ics dot uci dot edu  2006-05-03 21:53 -------
WRT this code generated by tree-ch:
  D.1305_41 = Int_Loc_3 + 1;
  if (Int_Loc_3 <= D.1305_41) goto <L0>; else goto <L2>;

AFAICT there's exactly one value for which the comparison can be false, IMO it
would be better to test directly that value instead of generating a new SSA
name and another expression.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26944



More information about the Gcc-bugs mailing list