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

            Bug ID: 89844
           Summary: CFI_setpointer produces wrong descriptor
           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 46032
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46032&action=edit
UNIX archive with test case

The source code in the attached archive can be compiled with
gcc -c setpointer_01_pos.c
gfortran setpointer_01_pos.f90 setpointer_01_pos.o

Running the executable reveals that
(1) referencing the assigned pointer does not supply the values for the
assigned target
(2) the association with the target is not set correctly
(3) the supplied lower bound is not set correctly

Reply via email to