Insert new bound in try_transform_to_exit_first_loop_alt
authorTom de Vries <tom@codesourcery.com>
Fri, 10 Jul 2015 08:25:18 +0000 (08:25 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 10 Jul 2015 08:25:18 +0000 (08:25 +0000)
commit9f620bf1eaa3b4a0c0419d0245184b50d871dd3b
tree44f02740ee8ce53dcbdabefda2290ac7c2c32586
parent094fe02336be4ba0bf630ab056d34c0333ff0852
Insert new bound in try_transform_to_exit_first_loop_alt

2015-07-10  Tom de Vries  <tom@codesourcery.com>

* tree-parloops.c (try_transform_to_exit_first_loop_alt): If not found,
insert nit + 1 bound.

* testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: New test.
* testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: New test.

* gfortran.dg/parloops-exit-first-loop-alt-2.f95: New test.
* gfortran.dg/parloops-exit-first-loop-alt.f95: New test.

From-SVN: r225655
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/parloops-exit-first-loop-alt-2.f95 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/parloops-exit-first-loop-alt.f95 [new file with mode: 0644]
gcc/tree-parloops.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95 [new file with mode: 0644]