------- Comment #4 from pinskia at gcc dot gnu dot org 2006-11-26 08:05 ------- Here is a short testcase: int f(int a, int b) { int i; int c = a>=b?a:b; for(i = 0;i<1000;i++) ; // Needed otherwise Jump threading gets in the way int d = c>=a?c:a; return d; }
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29984