From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99416 invoked by alias); 25 Oct 2019 07:21:43 -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 99396 invoked by uid 89); 25 Oct 2019 07:21:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=dummies, HX-Languages-Length:1073, bootstraps X-HELO: esa2.mentor.iphmx.com Received: from esa2.mentor.iphmx.com (HELO esa2.mentor.iphmx.com) (68.232.141.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Oct 2019 07:21:41 +0000 IronPort-SDR: tosw1abjSbHW8f92v1/WxkOj90ega5T/gFyGAhrLeMVuhd7/ATaOXftHKK94vv7x3pB4o/BKbG Di0zx0PiXvPjuGeilQFYYS6i8Y6g+D4poLiOnCK4+b5apWpF8MGO02XHBWZS/sQ8vDWTtj35vJ W7TDe18ZwxiX/4wdFPkbT4pqGEYL5sasc9hZH7gYsn27mGr3e0yA16BOiNs5d5j4kbWOh1/cZt N6EfnAUnALIAoDS7+oNU2V9RriEjtf/oRixzRYUB6uS2Z/3jZ7kRXdAr7E8zPAUXXxILprlmyH c8E= Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 24 Oct 2019 23:21:39 -0800 IronPort-SDR: UpXM4/Gnnk6G8KPn1Ld/Ty6aVcCAvx0+c+m9Lde+uqw21JWMe0/1wUfw5IczoUVeoKlP+7Bfuz Srx9EOoGYZPko1s82D/JP02KuWIY7ASCtzmyMVLUGnpyrs5xoqj18ptasO2C1qyGFMjJTJKBzQ Xp4AEHPeCJQ8iG66oTzmepCmjq6QOFHHgRW529pAw7NlN+cOXJlD0oiNDh3SoUyt8ORm6B9Lgx HvrrXwVSFx8AMEDl8NirlaQ9cDqyYZQydRaBslv7QZBcX5Mxq9NYye4ialmRZkrHxdj0dG4Klg tQA= Subject: Re: [Patch, fortran] PR91926 - assumed rank optional To: Paul Richard Thomas , "fortran@gcc.gnu.org" , gcc-patches CC: Gilles Gouaillardet References: From: Tobias Burnus Message-ID: <16be6080-6c29-46fe-c5e5-70cac5ad4d9a@codesourcery.com> Date: Fri, 25 Oct 2019 07:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: tobias@codesourcery.com X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg01794.txt.bz2 On 10/21/19 7:28 PM, Paul Richard Thomas wrote: > Please find attached a patch to keep 9-branch up to speed with trunk > as far as the ISO_Fortran_binding feature is concerned. > > It bootstraps and regtests on 9-branch and incorporates the correction > for PR92027, which caused problems for trunk on certain platforms. > > OK to commit? OK. Thanks for the patch. Tobias > 2019-10-21 Paul Thomas > > Backport from trunk > PR fortran/91926 > * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Correct the > assignment of the attribute field to account correctly for an > assumed shape dummy. Assign separately to the gfc and cfi > descriptors since the atribute can be different. Add branch to > correctly handle missing optional dummies. > > 2019-10-21 Paul Thomas > > Backport from trunk > PR fortran/91926 > * gfortran.dg/ISO_Fortran_binding_13.f90 : New test. > * gfortran.dg/ISO_Fortran_binding_13.c : Additional source. > * gfortran.dg/ISO_Fortran_binding_14.f90 : New test.