diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2025-02-15 11:38:05 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2025-02-15 11:39:51 +0100 |
commit | fd00010ba21c04bddb20aef52f62de5636075067 (patch) | |
tree | 655e0fe2ad89709d0e9da08bf50d69e903cc5adb /gcc/fortran/trans-expr.cc | |
parent | 8f386aadec70624f13b48dfddc4a8f689ccc505f (diff) | |
download | gcc-fd00010ba21c04bddb20aef52f62de5636075067.zip gcc-fd00010ba21c04bddb20aef52f62de5636075067.tar.gz gcc-fd00010ba21c04bddb20aef52f62de5636075067.tar.bz2 |
Fix PR 118884, Lapack build failure.
The fix for PR 118845 introduced new checks, which in turn exposed
a case where the typespec information on a symbol generated symbol
was not set. This led to an apparent type of BT_UNKNOWN, and hence
an error. Fixed as obvoius and simple.
gcc/fortran/ChangeLog:
* frontend-passes.cc (check_externals_procedure): Copy
typespec from old to new symbol.
gcc/testsuite/ChangeLog:
* gfortran.dg/interface_54.f90: New test.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions