This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Implement BACK for minloc and maxloc
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 7 May 2018 16:01:28 -0700
- Subject: Re: [patch, fortran] Implement BACK for minloc and maxloc
- References: <d62f482d-58ad-213f-798b-0c09e4bff4d9@netcologne.de>
- Reply-to: sgk at troutmask dot apl dot washington dot edu
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