[Bug fortran/89385] New: Incorrect members of C descriptor for an allocatable object

Bader at lrz dot de gcc-bugzilla@gcc.gnu.org
Mon Feb 18 09:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

            Bug ID: 89385
           Summary: Incorrect members of C descriptor for an allocatable
                    object
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45747
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45747&action=edit
test code

The attached test case provides a C and a Fortran file. If built with

gcc -c alloc_01_pos.c
gfortran alloc_01_pos.f90 alloc_01_pos.o

the resulting executable prints failure messages with respect to many members
of the C descriptor (elem_len, type, rank, attribute, dim[]).

Regards


More information about the Gcc-bugs mailing list