------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-30 
19:20 -------
Even though DOM is the problem, IV-OPTS can be improved so we don't create the 
casts in the first 
place, patch here to do that: 
<http://gcc.gnu.org/ml/gcc-patches/2005-01/msg02209.html>.

I will try get a testcase where DOM messes up even without IV-OPTs doing 
anything.
And here is that testcase, yes it is werid for someone to do this but ...:
extern void foo6(int);
void testloop6 (void)
{
  unsigned int D1133;
  int i;
  i = 100;
  do {
    foo6 (i);
    i = ((unsigned int) i) + 4294967286U;
  }while (i != 0);
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19703

Reply via email to