OK.

Thanks,

Tobias

On 3/30/20 9:30 AM, Mark Eggleston wrote:

Please find attached patch for PR94030.

OK to commit?

gcc/fortran/ChangeLog:

    Steven G. Kargl  <ka...@gcc.gnu.org>

    PR fortran/94030
    * resolve.c (resolve_equivalence): Correct formatting
    around the label "identical_types".  Instead of using
    gfc_resolve_array_spec use is_non_constants_shape_array
    to determine whether the array can be used in a in an
    equivalence statement.

gcc/testsuite/ChangeLog:

    Mark Eggleston  <mark.eggles...@codethink.com>
    Steven G. Kargl  <ka...@gcc.gnu.org>

    PR fortran/94030
    * gfortran.dg/pr94030_1.f90: New test.
    * gfortran.dg/pr94030_2.f90: New test.

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander 
Walter

Reply via email to