From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12562 invoked by alias); 28 Oct 2017 11:23:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 12543 invoked by uid 89); 28 Oct 2017 11:23:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Their X-Spam-User: qpsmtpd, 2 recipients X-HELO: cc-smtpout1.netcologne.de Received: from cc-smtpout1.netcologne.de (HELO cc-smtpout1.netcologne.de) (89.1.8.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Oct 2017 11:23:38 +0000 Received: from cc-smtpin3.netcologne.de (cc-smtpin3.netcologne.de [89.1.8.203]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id A8FFD13387; Sat, 28 Oct 2017 13:23:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin3.netcologne.de (Postfix) with ESMTP id A4B2E11D99; Sat, 28 Oct 2017 13:23:34 +0200 (CEST) Received: from [78.35.155.138] (helo=cc-smtpin3.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 59f468b6-02b7-7f0000012729-7f0000018395-1 for ; Sat, 28 Oct 2017 13:23:34 +0200 Received: from [192.168.178.20] (xdsl-78-35-155-138.netcologne.de [78.35.155.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin3.netcologne.de (Postfix) with ESMTPSA; Sat, 28 Oct 2017 13:23:31 +0200 (CEST) Subject: Re: [patch, fortran, RFC] Interchange indices for FORALL and DO CONCURRENT if profitable To: sgk@troutmask.apl.washington.edu Cc: "fortran@gcc.gnu.org" , gcc-patches References: <6f2efdb3-c45d-18c7-0b0e-89e91ab32eb4@netcologne.de> <20171027223858.GA26282@troutmask.apl.washington.edu> From: Thomas Koenig Message-ID: Date: Sat, 28 Oct 2017 12:54:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171027223858.GA26282@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-10/txt/msg02128.txt.bz2 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