From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id B1E60386197E; Fri, 3 Sep 2021 07:47:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B1E60386197E Received: by mail-il1-x12e.google.com with SMTP id a1so4387697ilj.6; Fri, 03 Sep 2021 00:47:04 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dAnS0UDR7CCSQhGJhQMXhXSwdaZHu2g3fsp4Jmxwj6s=; b=QTg9z9tHsc+JvaJX+6wKXrk/japBJuW0xLCIE+Q2hRhQIVQpIuu1gJRL8fWkUXqdAg Zvb4QX1fb2ePt89qW3jcI5eG+blw9dRYE3ydWw4QVoPS98OnDPbqFJS3teo0uxeWoPpW 4olHYQmqOoTNBvDUYzVzlL4oBr4JLrM3pNj2jgEjOmYnSR/VT+TNV818ZG9D4H8WV88u gUEOUxmF1W8nvkTSxbAXXDuMpgtQf4gV3lrjHVI1E8FwJ9caJtjoIelqAkDyzdG2QNgq k06SPvaw1mzquoPpNBCB0Lh38WalDRTQDY3CXB5QSMBu30sOfKYiQK6f//5ZeJhuLB68 yHXg== X-Gm-Message-State: AOAM533RosgwdvjkrlN/zs9XITq/6iQHo7TlnEulCX9K+QSntbpPJLzl 5FNygB2MfS3fseJhfJLTahxCj7lyaHXYZ3vQuz8= X-Google-Smtp-Source: ABdhPJz/hLmq9CZy+EgxzzTGlMz5kvtt/uvrlk6XsTMgNLlLbik1QhMY0Rbzh2qJV0USX4cWmxpTRfjUIPfFxJw/0Yg= X-Received: by 2002:a92:c151:: with SMTP id b17mr1669477ilh.1.1630655223967; Fri, 03 Sep 2021 00:47:03 -0700 (PDT) MIME-Version: 1.0 References: <64135fb4-c218-4026-6166-5018f11ebfe0@codesourcery.com> <84cbe3c1-b9db-a4ae-649f-c426448f8bcc@codesourcery.com> <47e5cae8-1d71-4017-0978-96670a773ad0@codesourcery.com> In-Reply-To: From: Christophe Lyon Date: Fri, 3 Sep 2021 09:46:53 +0200 Message-ID: Subject: Re: [PATCH v3, Fortran] TS 29113 testsuite To: Sandra Loosemore Cc: Tobias Burnus , "gcc-patches@gcc.gnu.org" , "fortran@gcc.gnu.org" , Thomas Koenig , =?UTF-8?Q?Jos=C3=A9_Rui_Faustino_de_Sousa?= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2021 07:47:07 -0000 Hi, On Thu, Aug 19, 2021 at 7:29 PM Sandra Loosemore wrote: > On 7/27/21 5:07 AM, Tobias Burnus wrote: > > Hi Sandra, hi Thomas, hi all, > > > > @Thomas K: Comments about the following - and of course to the > > testsuite itself - are highly welcome. > > > > In my opinion, the testsuite LGTM and can be committed. > > > > @Sandra: > > - Thoughts on the directory name? (cf. below) > > - Give others/Thomas a chance to comment on this, > > before committing it. (And remove the now passing xfails.) > > Thanks for the testsuite! > > > > Regarding: > > > > * XFAILS - as discussed before, I think having some XFAILS is > > not ideal but fine, especially if the XFAIL/PASS ratio is low > > and there are plans to fix the known fails, some posted patches > > for those, and open PRs for the issues. > > > > (I think there is one patch pending review and two patches pending > > committal with some modifications by Sandra - plus several patches > > by Jos=C3=A9 which still need to be reviewed.) > > > > > > * Naming of the directory + .exp file: > > ts29113/ts29113.exp > > is okay. Given that 'select rank' (in F2018 but not in TS29113) > > is also tested, there was some controversy regarding the name > > and the coverage; additionally, TS29113 is a name which is not > > immediately clear. Thus, we could use some other name like: > > c-interop/c-interop.exp > > or .... (suggestions?). > > In any case, I do not feel strong about either name. > > > > * I had a closer look at earlier versions of the testsuite, I did > > browse through the current one + looked at the diff to previous > > version, but it is big enough and the spec is complex enough that > > I have likely missed something. > > Thus: Additional reviews are highly welcome! > > Here is the current version of the testsuite. Changes since the last > version include: > > * Renaming the directory and .exp file from ts29113 -> c-interop per the > request above. There have been no additional review comments. > > * I also made it explicit that section and constraint numbers mentioned > in comments in the test cases refer to TS 29113. I considered using the > numbering from 2018 standard, but given that the standard already > renumbered things twice since the time TS 29113 was published I didn't > really see the point, as long as it is unambiguous what document is > being cited. > > * I flattened the subdirectory structure after realizing that > dg-additional-sources can't cope with relative pathnames in remote-host > testing. > > * I split up the typecodes tests (for testing that descriptors > constructed by the front end match ISO_Fortran_binding.h) to allow for > finer-grained control over xfails and dg-require-effective-target, and > added a new effective target for Fortran C_FLOAT128 support. There are > also some additional things being tested now in this group. > > The current xfails in the tests reflect the two patches I posted last > night that are still waiting for review: > > https://gcc.gnu.org/pipermail/fortran/2021-August/056382.html > https://gcc.gnu.org/pipermail/fortran/2021-August/056383.html > > I've been testing on x86 (both 32- and 64-bit) and powerpc64le-linux-gnu. > > I'm not quite sure I understand the expected status of this patch: are all the "expected" failures tagged as XFAIL? If yes, then there's a problem because I see lots of unresolved on aarch64/arm For instance on aarch64: /gcc/testsuite/gfortran.dg/c-interop/cf-descriptor-5.f90:10:19: Error: Sorry, character dummy argument 'a' at (1) with assumed length is not yet supported for procedure 'ftest' with BIND(C) attribute compiler exited with status 1 XFAIL: gfortran.dg/c-interop/cf-descriptor-5.f90 -O0 pr92482 (test for bogus messages, line 10) PASS: gfortran.dg/c-interop/cf-descriptor-5.f90 -O0 (test for excess errors) UNRESOLVED: gfortran.dg/c-interop/cf-descriptor-5.f90 -O0 compilation failed to produce executable /gcc/testsuite/gfortran.dg/c-interop/cf-out-descriptor-5.f90:9:19: Error: Sorry, character dummy argument 'a' at (1) with assumed length is not yet supported for procedure 'ftest' with BIND(C) attribute /gcc/testsuite/gfortran.dg/c-interop/cf-out-descriptor-5.f90:23:23: Error: Sorry, character dummy argument 'a' at (1) with assumed length is not yet supported for procedure 'ctest' with BIND(C) attribute /gcc/testsuite/gfortran.dg/c-interop/cf-out-descriptor-5.f90:29:23: Error: Sorry, character dummy argument 'a' at (1) with assumed length is not yet supported for procedure 'ftest' with BIND(C) attribute compiler exited with status 1 XFAIL: gfortran.dg/c-interop/cf-out-descriptor-5.f90 -O0 pr92482 (test for bogus messages, line 9) XFAIL: gfortran.dg/c-interop/cf-out-descriptor-5.f90 -O0 pr92482 (test for bogus messages, line 23) XFAIL: gfortran.dg/c-interop/cf-out-descriptor-5.f90 -O0 pr92482 (test for bogus messages, line 29) PASS: gfortran.dg/c-interop/cf-out-descriptor-5.f90 -O0 (test for excess errors) UNRESOLVED: gfortran.dg/c-interop/cf-out-descriptor-5.f90 -O0 compilation failed to produce executable and similar for fc-descriptor-5.f90 fc-out-descriptor-5.f90 ff-descriptor-5.f90 For typecodes-array-float128.f90 FAIL: gfortran.dg/c-interop/typecodes-array-float128.f90 -O0 (test for excess errors) Excess errors: /gcc/testsuite/gfortran.dg/c-interop/typecodes-array-float128-c.c:35:32: error: '__float128' undeclared (first use in this function); did you mean '_Float128'? typecodes-sanity.f90 FAIL: gfortran.dg/c-interop/typecodes-sanity.f90 -O0 (test for excess errors) Excess errors: /gcc/testsuite/gfortran.dg/c-interop/typecodes-sanity-c.c:41:13: error: '__float128' undeclared here (not in a function); did you mean '_Float128'? typecodes-scalar-float128.f90 FAIL: gfortran.dg/c-interop/typecodes-scalar-float128.f90 -O0 (test for excess errors) Excess errors: /gcc/testsuite/gfortran.dg/c-interop/typecodes-scalar-float128-c.c:34:32: error: '__float128' undeclared (first use in this function); did you mean '_Float128'? PR100914.f90 FAIL: gfortran.dg/PR100914.f90 -O0 (test for excess errors) Excess errors: /gcc/testsuite/gfortran.dg/PR100914.c:8:10: fatal error: quadmath.h: No such file or directory Can you check? Thanks Christophe > Given that Tobias already said the last version of the patch was OK, I'd > like to commit this soon, either at the same time I push the patches > above, or next week if there is some hold-up on them. If anybody wants > more time to review this first, let me know. > > -Sandra >