diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-07-19 17:27:45 +0200 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-07-19 17:27:45 +0200 |
commit | 2e1b25350aa96b3f5678a056d0b55bb323c452d9 (patch) | |
tree | 412065965e273a9d2ea8e073ef297330306c8534 /gcc/tree-ssa-loop-split.c | |
parent | 29e1039ca211c4e3f1053925eda0a81c57cbcb0c (diff) | |
download | gcc-2e1b25350aa96b3f5678a056d0b55bb323c452d9.zip gcc-2e1b25350aa96b3f5678a056d0b55bb323c452d9.tar.gz gcc-2e1b25350aa96b3f5678a056d0b55bb323c452d9.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-ssa-loop-split.c')
0 files changed, 0 insertions, 0 deletions