public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, fortran] PR91926 - assumed rank optional
@ 2019-10-05 18:31 Paul Richard Thomas
  2019-10-09 10:18 ` Christophe Lyon
  2019-10-21 17:59 ` Paul Richard Thomas
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Richard Thomas @ 2019-10-05 18:31 UTC (permalink / raw)
  To: fortran, gcc-patches; +Cc: Gilles Gouaillardet

I must apologise not posting this before committing. I left for a
vacation this morning and I thought that this problem and the one
posted by Gilles were best fixed before departing. The patch only
touches the new ISO_Fortran binding feature and so I thought that I
would be safe to do this.

It was fully regtested and only applies to trunk.

Paul

Author: pault
Date: Sat Oct  5 08:17:55 2019
New Revision: 276624

URL: https://gcc.gnu.org/viewcvs?rev=276624&root=gcc&view=rev
Log:
2019-10-05  Paul Thomas  <pault@gcc.gnu.org>

        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 btanch to
        correctly handle missing optional dummies.

2019-10-05  Paul Thomas  <pault@gcc.gnu.org>

        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.

2019-10-05  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/91926
        * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Do not
        modify the bounds and offset for CFI_other.

Added:
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.c
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.f90
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/runtime/ISO_Fortran_binding.c

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-25  7:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05 18:31 [Patch, fortran] PR91926 - assumed rank optional Paul Richard Thomas
2019-10-09 10:18 ` Christophe Lyon
2019-10-09 11:35   ` Paul Richard Thomas
2019-10-17 13:56     ` Tobias Burnus
2019-10-19 18:10       ` Paul Richard Thomas
2019-10-21 17:59 ` Paul Richard Thomas
2019-10-25  7:29   ` Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).