[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Feb 11 14:44:35 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831
--- Comment #14 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 11 Feb 2025, tkoenig at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831
>
> Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |tkoenig at gcc dot gnu.org
>
> --- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
> (In reply to jcldc13 from comment #2)
>
> > Because I am working on a project, for many years, mixing f77 and c code,
> > which is compiling/running fine on x86-64 arch but not anymore on arm arch.
>
> Since its 2003 version, Fortran has C interoperability features.
> If you want something that is guaranteed to work by the language
> standard, use that.
>
> See https://gcc.gnu.org/onlinedocs/gfortran/Interoperability-with-C.html
> (or numerous other sources).
Though specifically note "nor C’s functions with variable number of
arguments have an equivalent in Fortran".
More information about the Gcc-bugs
mailing list