[Bug fortran/28818] C/Fortran interoperability: variable number of arguments passed from fortran to C causes Illegal instruction
cyan+gcc at compsoc dot nuigalway dot ie
gcc-bugzilla@gcc.gnu.org
Fri Aug 25 11:06:00 GMT 2006
------- 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 to name mangling). test_ is indeed a
variable-args function:
void test_(int *test, ...).
Also, this code works as expected on 32-bit x86 machines.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28818
More information about the Gcc-bugs
mailing list