Re: *PING* Re: [Patch] Fortran: Fix function decl's location [PR95847]

2020-11-09 Thread Thomas Koenig via Gcc-patches
Hi Tobias, *PING* OK. Thanks for the patch! Best regards Thomas

*PING* Re: [Patch] Fortran: Fix function decl's location [PR95847]

2020-11-09 Thread Tobias Burnus
*PING* On 05.11.20 22:57, Tobias Burnus wrote: In gfc_get_symbol_decl, if an external procedure is invoked and sym->backend_decl is NULL_TREE, gfc_get_extern_function_decl is called. This searches the translation unit (or gsym) to find the declaration – and if found, it returns it. Well, that

[Patch] Fortran: Fix function decl's location [PR95847]

2020-11-05 Thread Tobias Burnus
In gfc_get_symbol_decl, if an external procedure is invoked and sym->backend_decl is NULL_TREE, gfc_get_extern_function_decl is called. This searches the translation unit (or gsym) to find the declaration – and if found, it returns it. Well, that worked and the module procedure's decl is return