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

            Bug ID: 89364
           Summary: Assumed rank object with incorrect values for shape
                    and bounds
           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 45734
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45734&action=edit
test code

The attached code compiles without complaints with gfortran 9.0 trunk, but
produces incorrect values for the SHAPE, LBOUND and UBOUND intrinsics on the
last dimension if the actual argument is an assumed-size array.

Reply via email to