[PATCH] PR fortran/68544 -- A derived type cannot be actual argument

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] PR fortran/68544 -- A derived type cannot be actual argument

Steve Kargl
The attach patch has been sitting in my tree for a year.
It has been tested and updated as others have changed
the gfortran code.  The patch has been compiled and
regression tested on x86_64-*-freebsd.  OK to commit?

Either testcase should provide sufficient information
about the problem that this patch fixes.

2019-06-12  Steven G. Kargl  <[hidden email]>

        PR fortran/68544
        * resolve.c (is_dt_name): New function to compare symbol name against
        list of derived types.
        (resolve_actual_arglist): Use it to find wrong code.

2019-06-12  Steven G. Kargl  <[hidden email]>

        PR fortran/68544
        * gfortran.dg/pr68544.f90: New test.
        * gfortran.dg/pr85687.f90: Modify test for new error message.


--
Steve

pr68544.diff (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] PR fortran/68544 -- A derived type cannot be actual argument

Paul Richard Thomas
Hi Steve,

That's good to go - thanks

Paul

On Wed, 12 Jun 2019 at 23:44, Steve Kargl
<[hidden email]> wrote:

>
> The attach patch has been sitting in my tree for a year.
> It has been tested and updated as others have changed
> the gfortran code.  The patch has been compiled and
> regression tested on x86_64-*-freebsd.  OK to commit?
>
> Either testcase should provide sufficient information
> about the problem that this patch fixes.
>
> 2019-06-12  Steven G. Kargl  <[hidden email]>
>
>         PR fortran/68544
>         * resolve.c (is_dt_name): New function to compare symbol name against
>         list of derived types.
>         (resolve_actual_arglist): Use it to find wrong code.
>
> 2019-06-12  Steven G. Kargl  <[hidden email]>
>
>         PR fortran/68544
>         * gfortran.dg/pr68544.f90: New test.
>         * gfortran.dg/pr85687.f90: Modify test for new error message.
>
>
> --
> Steve



--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein