From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22255 invoked by alias); 22 Mar 2018 08:22:53 -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 21671 invoked by uid 89); 22 Mar 2018 08:22:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1759, HX-Received:Thu, HTo:D*edu, H*c:alternative X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yb0-f169.google.com Received: from mail-yb0-f169.google.com (HELO mail-yb0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Mar 2018 08:22:51 +0000 Received: by mail-yb0-f169.google.com with SMTP id b4-v6so2652067ybi.0; Thu, 22 Mar 2018 01:22:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+0TUoEGj673W9rYYXKM9p9if1P9JInQRuuUW/SUC76w=; b=K1pTjLB8s9GohY7xwjcidYyYLcE7ug1E4IXFNKYjTAGB3Lx4nUglsO0p2a2tyomDGm 504aLNSqy+eKp+Nib7y5WXUcUTrP7W9lQlv3NQ0hGIyskGBQVh9/rJJfgAwH3g8xSvzZ 41MV7xQAP+fczq/s+bUpaP3/ELicMaunFTxjCim9sI8tm1XHmYgrb8nmtMGqCgqU9mZY HPCsigiF+2fsr9i1PVqNV4ZaYACOmdcrJpQ31lcM8/ju04gp+8atV5eI63DWdC63yG8f V/CZnX+XkX2hUxnmliwZDEksnHA4e4Q2p1vFCEP0h5gWxB9vYLBboYeOhKIbRIpSOpAV 5CRQ== X-Gm-Message-State: AElRT7Fwr9vZfkIvE/rXVDYiWQoFd74tRwgo7hAyvuRrrGX0jj22FFxV 0ItBu6oV/x4VciGxrkbcsi5SU1jJHl10SwQ3waX/mw== X-Google-Smtp-Source: AG47ELsycpk/4YlrrbwoqCiQmZSkbUdfjWZX/kb1GrnzoScAp7+RX0nQOZQ8IuqZfBObxFGC1cGJhaTvMGK47ONw+pI= X-Received: by 2002:a25:7906:: with SMTP id u6-v6mr13813228ybc.385.1521706969248; Thu, 22 Mar 2018 01:22:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.39.76 with HTTP; Thu, 22 Mar 2018 01:22:48 -0700 (PDT) In-Reply-To: <20180321221906.GA76669@troutmask.apl.washington.edu> References: <20180321221906.GA76669@troutmask.apl.washington.edu> From: Janne Blomqvist Date: Thu, 22 Mar 2018 08:35:00 -0000 Message-ID: Subject: Re: [PATCH] PR fortran/84922 -- Check MODULE prefix is used To: Steve Kargl Cc: Fortran List , GCC Patches Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-03/txt/msg01159.txt.bz2 On Thu, Mar 22, 2018 at 12:19 AM, Steve Kargl < sgk@troutmask.apl.washington.edu> wrote: > If an interface body includes a MODULE prefix on a subroutine > or function, then the prefix must appear on the contained > subprogram. This patch does that check, and issues an error > message. > > 2018-03-21 Steven G. Kargl > > PR fortran/84922 > * decl.c (get_proc_name): If the MODULE prefix appears in interface > body, then it must appear on the contained subroutine or function. > While here, fix nearby mis-indented code. > > 2018-03-21 Steven G. Kargl > PR fortran/84922 > * gfortran.dg/interface_42.f90: New test. > * gfortran.dg/interface_43.f90: New test. > -- > Steve > In the testcase, please change the "modified by me" comment to specify who "me" is. Otherwise Ok. -- Janne Blomqvist