------- 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