aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.cc
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2025-05-30 13:31:58 +0200
committerThomas Koenig <tkoenig@gcc.gnu.org>2025-05-31 08:45:51 +0200
commitd8e7a2dbe736a57e4cec0293387a1c558b5a155e (patch)
tree6c394e46b3b91dccc10c13fb20e10ed0f4e092ab /gcc/dwarf2ctf.cc
parent1d3b863c20831dc56f3671ee053d00440c322248 (diff)
downloadgcc-d8e7a2dbe736a57e4cec0293387a1c558b5a155e.zip
gcc-d8e7a2dbe736a57e4cec0293387a1c558b5a155e.tar.gz
gcc-d8e7a2dbe736a57e4cec0293387a1c558b5a155e.tar.bz2
Type mismatch for passed external function
This obvious and simple patch fixes a 15/16 regression where the typespec of a global function was in the RESULT clause and not in the symbol itself. gcc/fortran/ChangeLog: PR fortran/120355 * interface.cc (compare_parameter): If the global function has a result clause, take typespec from there for the comparison against the dummy argument. gcc/testsuite/ChangeLog: PR fortran/120355 * gfortran.dg/interface_62.f90: New test. (cherry picked from commit 0e77309047a7b479c89f03dcaf2994e050d0f33e)
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions