------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-09 14:18 ------- All you are saving is one or two instructions if val == max, in real life that is usually no more than 0.1% now if it was really in the hot loop, it might be 1-2% depending on how "hot" the loop really is.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26196