This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Implement BACK for minloc and maxloc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]