------- Comment #5 from falk at debian dot org 2009-09-29 21:02 ------- Of course the optimization would be wrong if the second clause had side effects, but it doesn't and this will frequently be the case. So this is definitely a valid and in my opinion worthwhile optimization.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19778