re PR tree-optimization/42108 (50% performance regression)
authorRichard Biener <rguenther@suse.de>
Thu, 11 Dec 2014 15:52:47 +0000 (15:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 11 Dec 2014 15:52:47 +0000 (15:52 +0000)
commitd17271de7f98ec782324307a8840f531831c4509
tree83a5e16407fda4f8d1b8d7ae328e0054a656a7f6
parentb214b73391d67f9a0dbb8807912330289973982a
re PR tree-optimization/42108 (50% performance regression)

2014-12-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/42108
* trans-stmt.c (gfc_trans_do): Execute the division computing
countm1 before the loop entry check.

* gfortran.dg/pr42108.f90: Amend.

From-SVN: r218630
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr42108.f90