[patch, fortran] Implement BACK for minloc and maxloc

Steve Kargl sgk@troutmask.apl.washington.edu
Mon May 7 23:01:00 GMT 2018


On Tue, May 01, 2018 at 10:07:05PM +0200, Thomas Koenig wrote:
>  
> Index: gcc/fortran/simplify.c
> ===================================================================
> --- gcc/fortran/simplify.c	(Revision 259683)
> +++ gcc/fortran/simplify.c	(Arbeitskopie)
> @@ -32,7 +32,7 @@ along with GCC; see the file COPYING3.  If not see
>  
>  /* Prototypes.  */
>  
> -static int min_max_choose (gfc_expr *, gfc_expr *, int);
> +static int min_max_choose (gfc_expr *, gfc_expr *, int, bool back_val = false);
>  

You can remove 'back_val = false' in the prototype.

Other than that I didn't see anything that jump out
as suspicious.  Thanks for taking care of this.

OK to commit.

-- 
steve



More information about the Fortran mailing list