From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65776 invoked by alias); 31 Jul 2018 14:57:52 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 65755 invoked by uid 89); 31 Jul 2018 14:57:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:CAGkQGi, H*i:sk:CAGkQGi, H*i:sk:sLEVs17, H*f:sk:sLEVs17 X-HELO: mail-lj1-f178.google.com Received: from mail-lj1-f178.google.com (HELO mail-lj1-f178.google.com) (209.85.208.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 31 Jul 2018 14:57:50 +0000 Received: by mail-lj1-f178.google.com with SMTP id u7-v6so14035678lji.3; Tue, 31 Jul 2018 07:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TWCPB6RElxvS+9kxiMA/vKPYvl//HpYObSFK7pZ0L+k=; b=WaXiPR5gH3gPSXJnqDHEHWz8FlxOdGT0Op1/evxsyZozcCtpygzSo8W2O84/vz8RSv drSTOMH09fLrVwwBjJ5IreA3KBHlvzJGZblUST1O4bfz0kQzcg7m16HfSg69Eq8e/qkG qNuOR7MHGQjp4cIVBgjcZru7+uxwonejhva9O468QbvyA5TsQDKpKXZ822WPDnSJW9bs 55v4JADz9naQstc+3jO9FdxJR7blHwKzX8tL77DZqEgD8XAwG0+a7e+tgfY51DqYnh9K iXZvG7KcIpDfWYUahTlUW1/RYOyy0DGf2NSSgbaeTeGi64tUp8u8GzQMZ4lltq6588ay 5soA== MIME-Version: 1.0 References: In-Reply-To: From: Richard Biener Date: Tue, 31 Jul 2018 14:57:00 -0000 Message-ID: Subject: Re: [Patch, fortran] A first small step towards CFI descriptor implementation To: Paul Richard Thomas Cc: "fortran@gcc.gnu.org" , GCC Patches , damian@sourceryinstitute.org, celisdanieljr@gmail.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00136.txt.bz2 On Tue, Jul 31, 2018 at 2:07 PM Paul Richard Thomas wrote: > > Daniel Celis Garza and Damian Rouson have developed a runtime library > and include file for the TS 29113 and F2018 C descriptors. > https://github.com/sourceryinstitute/ISO_Fortran_binding > > The ordering of types is different to the current 'bt' enum in > libgfortran.h. This patch interchanges BT_DERIVED and BT_CHARACTER to > fix this. > > Regtests on FC28/x86_64. OK for trunk? That's an ABI change, correct? Richard. > Cheers > > Paul > > 2018-07-31 Paul Thomas > > * gcc/fortran/libgfortran.h : In bt enum interchange BT_DERIVED > and BT_CHARACTER for CFI descriptor compatibility(TS 29113).