https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42108
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |5.0 Summary|[4.8/4.9/5 Regression] 50% |[4.8/4.9 Regression] 50% |performance regression |performance regression Known to fail| |4.3.6 --- Comment #67 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed on trunk (sofar). --- Comment #68 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Dec 11 15:52:47 2014 New Revision: 218630 URL: https://gcc.gnu.org/viewcvs?rev=218630&root=gcc&view=rev Log: 2014-12-11 Richard Biener <rguent...@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. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/pr42108.f90