------- Comment #5 from pinskia at gcc dot gnu dot org  2007-05-29 18:26 -------
Plus forwprop only does:
  D.1046_37 = &(*__result.0_23)[0];
....
  D.1048_41 = (char *) _s1_2(D);
  D.1049_42 = D.1046_37 + D.1048_41;

Into:
  D.1046_37 = &(*__result.0_23)[0];
...
  D.1048_41 = (char *) _s1_2(D);
  D.1049_42 = &(*__result.0_23)[_s1_2(D)];

Which is not wrong.
I wonder if my patch at:
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01769.html

Fixes the issue.


-- 


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

Reply via email to