On 8 November 2013 14:45, Steven Bosscher <stevenb....@gmail.com> wrote: > This is IMHO not OK without at least an explanation of why the > comparison of two const_ints is not folded. Better yet would be to fix > that underlying problem. We should not present such non-sense to the > RTL parts of the middle end.
Which part would be responsible to folding the comparison at -O1 ? FWIW, as I just commented in the PR, one of the operands is an ssa_name with a known value.