Hi Tobias,
Comments, remarks, suggestions?
I assume you regression-tested (you didn't say).
Otherwise, I regard the common Fortran code as obvious - and the OpenMP part covered by my (co)maintainership.
Regarding the Fortran part: - fndecl = build_decl (input_location, + fndecl = build_decl (gfc_get_location (&sym->declared_at), FUNCTION_DECL, name, type); Does that have any effect on non-OMP code, and if so, what is it? If so, could you also add a test case checking for it? Best regards Thomas