re PR tree-optimization/45578 (The polyhedron test mdbx is miscompiled with -O2 ...
authorRichard Guenther <rguenther@suse.de>
Wed, 8 Sep 2010 11:17:31 +0000 (11:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 8 Sep 2010 11:17:31 +0000 (11:17 +0000)
commitb5c878a5159f7d60f0c451b25888bcb2af4025e5
treed55011734cc9ed57533d95ea89e04d8136321642
parent88a2722e1fd941a7d02575a6663641d0739939a5
re PR tree-optimization/45578 (The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915)

2010-09-08  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/45578
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr):
Be more careful when transfering alignment information to
the new induction variable.
(copy_ref_info): Likewise.

* gfortran.dg/pr45578.f90: New testcase.

From-SVN: r163997
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr45578.f90 [new file with mode: 0644]
gcc/tree-ssa-loop-ivopts.c