This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran, RFC] Interchange indices for FORALL and DO CONCURRENT if profitable
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: sgk at troutmask dot apl dot washington dot edu
- 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: Sat, 28 Oct 2017 13:23:30 +0200
- Subject: Re: [patch, fortran, RFC] Interchange indices for FORALL and DO CONCURRENT if profitable
- Authentication-results: sourceware.org; auth=none
- References: <6f2efdb3-c45d-18c7-0b0e-89e91ab32eb4@netcologne.de> <20171027223858.GA26282@troutmask.apl.washington.edu>
Hi Steve,
On Sat, Oct 28, 2017 at 12:03:58AM +0200, Thomas Koenig wrote:
+/* Callback function to determine if an expression is the
+ corresponding variable. */
+
+static int
static bool
Most of the functions in the patch are callback functions for
gfc_code_walker or gfc_expr_walker, respectively. Their
function arguments are given as
typedef int (*walk_code_fn_t) (gfc_code **, int *, void *);
typedef int (*walk_expr_fn_t) (gfc_expr **, int *, void *);
respectively, so the types of the functions are fixed.
Regards
Thomas