[Bug tree-optimization/31715] [4.3 Regression] Array calculation done incorrectly

2007-04-27 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-04-27 12:43 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/31715] [4.3 Regression] Array calculation done incorrectly

2007-04-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-04-27 12:42 --- Subject: Bug 31715 Author: rguenth Date: Fri Apr 27 12:42:43 2007 New Revision: 124216 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124216 Log: 2007-04-27 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/31715] [4.3 Regression] Array calculation done incorrectly

2007-04-27 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-04-27 10:42 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug tree-optimization/31715] [4.3 Regression] Array calculation done incorrectly

2007-04-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-04-26 23:22 --- That's probably exposed by Honzas struct/array_ref folding changes. we have after inlining p_4(D) = &arr; D.1631_5 = p_4(D) + -4B; n.0_6 = 4; D.1633_7 = n.0_6 * 4; D.1634_8 = (DWORD *) D.1633_7; D.1635_9 =

[Bug tree-optimization/31715] [4.3 Regression] Array calculation done incorrectly

2007-04-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-26 19:27 --- In final_cleanup we get: if (arr[1073741827] == 0) goto ; else goto ; Which is wrong. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added