[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

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

2007-05-24 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-05-24 11:09 --- Actually this is just a tree-combining issue. CCP already transforms this to c_1 = &b.t[0]; D.2000_3 = i_2(D) * 4; D.2001_4 = (int *) D.2000_3; D.2002_5 = D.2001_4 + &b.t[0]; *D.2002_5 = 1; not combining

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

2007-05-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-05-24 10:54 --- is this fixed on pointer_plus branch? Confirmed on the mainline. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

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

2007-05-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31981