]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/intrinsic.cc
fortran: Delete redundant missing_arg_type field
authorMikael Morin <mikael@gcc.gnu.org>
Sun, 7 Nov 2021 13:40:24 +0000 (14:40 +0100)
committerMikael Morin <mikael@gcc.gnu.org>
Tue, 16 Nov 2021 18:07:50 +0000 (19:07 +0100)
commite94e2cf9f9b31167cfaa6e33f731c3735515662d
tree7cd1ff08df23f7d6ea72defae5e62f80c9b2d934
parent5d9d16db96f2fcb47a00a7ce7e2d0e51400b47ab
fortran: Delete redundant missing_arg_type field

Now that we can get information about an actual arg's associated
dummy using the associated_dummy attribute, the field missing_arg_type
contains redundant information.
This removes it.

gcc/fortran/ChangeLog:
* gfortran.h (gfc_actual_arglist::missing_arg_type): Remove.
* interface.c (gfc_compare_actual_formal): Remove
missing_arg_type initialization.
* intrinsic.c (sort_actual): Ditto.
* trans-expr.c (gfc_conv_procedure_call): Use associated_dummy
and gfc_dummy_arg_get_typespec to get the dummy argument type.
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/intrinsic.c
gcc/fortran/trans-expr.c