--- Comment #5 from kargl at gcc dot gnu dot org 2006-08-25 16:38 ---
> I don't understand what you mean. The fortran code calls the test function,
> which is written in C (called test_ due to name mangling). test_ is indeed a
> variable-args function:
> void test_(int *test, ...).
For
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-25 14:08 ---
(In reply to comment #3)
> (In reply to comment #2)
> > the Fortran program
> > is not calling a var-args C function,
>
> I don't understand what you mean. The fortran code calls the test function,
> which is writte
--- Comment #3 from cyan+gcc at compsoc dot nuigalway dot ie 2006-08-25
11:06 ---
(In reply to comment #2)
> the Fortran program
> is not calling a var-args C function,
I don't understand what you mean. The fortran code calls the test function,
which is written in C (called test_ due t
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-25 06:27 ---
This is not a bug as the code you are using is undefined as the Fortran program
is not calling a var-args C function, it is a Fortran function which always not
a var-args function.
--
pinskia at gcc dot gnu dot
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-23 15:18 ---
Technicially this is not a bug because C/Fortran interoperability is undefined.
For Fortran 2003, there is a way to interopere between the two langauges but I
don't think var_args are supported.
--
http://gcc.g