http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31981
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-01 01:22 ---
> OFFSET + &OBJ.
Well pointer plus was merged so it is always &OBJ + OFFSET :).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31981
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-05-25 11:21 ---
Indeed with -fno-tree-ccp the testcase is optimized by forwprop1 to
:
D.2000_3 = i_2(D) * 4;
D.2001_4 = (int *) D.2000_3;
D.2002_5 = &b.t[i_2(D)];
*D.2002_5 = 1;
return;
and then by forwprop2 to
:
D.20