Jakub Jelinek wrote:
Here is an updated patch including your incremental changes.

Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

LGTM. Thanks for the patch – and sorry for the delayed review.

Tobias

Trying to write a testcase I've run into further issues but seems they
are on the library side, so I'll post it incrementally.

2025-05-12  Jakub Jelinek<ja...@redhat.com>
            Daniil Kochergin<daniil24...@gmail.com>
            Tobias Burnus<tbur...@baylibre.com>

        PR fortran/120191
        * trans-intrinsic.cc (strip_kind_from_actual): Remove.
        (gfc_conv_intrinsic_minmaxloc): Don't call strip_kind_from_actual.
        Free and clear kind_arg->expr if non-NULL.  Set back_arg->name to
        "%VAL" instead of a loop looking for last argument.  Remove actual
        variable, use array_arg instead.  Free and clear dim_arg->expr if
        non-NULL for BT_CHARACTER cases instead of using a loop.

        * gfortran.dg/pr120191_1.f90: New test.

Reply via email to