[PATCH] fortran: fix -MT/-MQ adding additional target [PR47485]

2024-12-29 Thread Vincent Vanlaer
The -MT and -MQ options should replace the default target in the generated dependency file. deps_add_target needs to be called before cpp_read_main_file, otherwise the original object name is added. gcc/fortran/ PR fortran/47485 * cpp.cc: fix -MT/-MQ adding additional target instea

Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-29 Thread Jerry D
Attached is the revised patch incorporating handling of optional arguments of a calling procedure and simplified checking for C interoperability. See the PR for much discussion. Regression tested on x86_64_linux_gnu. Two test cases. OK for trunk? Author: Steven G. Kargl Date: Sun Dec 29