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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Thomas Kथà¤nig
<tkoe...@gcc.gnu.org>:

https://gcc.gnu.org/g:5b9f6489081520b7cb10d3ddfae6f010e0986314

commit r10-8521-g5b9f6489081520b7cb10d3ddfae6f010e0986314
Author: Thomas Koenig <tkoe...@gcc.gnu.org>
Date:   Sun Jul 19 17:27:45 2020 +0200

    Always use name from c_interop_kinds_table for -fc-prototypes.

    When a user specified a KIND that was a parameter taking the value
    of an iso_c_binding KIND, the code used the name of that parameter
    to look up the type name.  Corrected by always looking it up in
    the table of C interop kinds (which was previously done for
    non-C-interop types, anyway).

    gcc/fortran/ChangeLog:

            PR fortran/96220
            * dump-parse-tree.c (get_c_type_name): Always use the entries from
            c_interop_kinds_table to find the correct C type.

    (cherry picked from commit 2e1b25350aa96b3f5678a056d0b55bb323c452d9)

Reply via email to