[PATCH 1/2] Add PRED_FORTRAN_LOOP_PREHEADER to DO loops with step bigger than +-1.

Tobias Burnus tobias.burnus@physik.fu-berlin.de
Thu Jul 7 12:27:00 GMT 2016


marxin wrote:
> gcc/fortran/ChangeLog:
> 2016-07-01  Martin Liska  <mliska@suse.cz>
>
> 	* trans-stmt.c (gfc_trans_do): Add expect builtin for DO
> 	loops with step bigger than +-1.
>
> gcc/testsuite/ChangeLog:
> 2016-07-01  Martin Liska  <mliska@suse.cz>
>
> 	* gfortran.dg/predict-1.f90: Ammend the test.
> 	* gfortran.dg/predict-2.f90: Likewise.

This patch also looks good to me. Thanks again.

Cheers,

Tobias



More information about the Gcc-patches mailing list