> Also, the ChangeLog entries should be: > > 2013-08-08 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > PR tree-optimization/58088 > * gcc/fold-const.c (mask_with_trailing_zeros): New function. > (fold_binary_loc): Make sure we don't recurse infinitely > when the X in (X & C1) | C2 is a tree of the form (Y * K1) & K2. > Use mask_with_trailing_zeros where appropriate.
Without gcc/ prefix, paths are relative to the directory where ChangeLog lives. > 2013-08-08 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > PR tree-optimization/58088 > * gcc.c-torture/compile/pr58088.c: New test. This one is good. -- Eric Botcazou