[Bug tree-optimization/31981] Missed forw prop with indirect ref and addr. due to CCP

2011-04-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31981 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/31981] Missed forw prop with indirect ref and addr. due to CCP

2007-06-30 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug tree-optimization/31981] Missed forw prop with indirect ref and addr. due to CCP

2007-05-25 Thread rguenth at gcc dot gnu dot org
--- 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