------- Additional Comments From georg dot denk at infineon dot com 2005-08-12 12:45 ------- (In reply to comment #1) > I think this is really just invalid. As the ABI for var-args is different from the ABI for non var-args. And > fortran only passes via non var-args functions.
I don't think that this is "just invalid" --- and this is not because we use this kind of code in our application at many places ;-) At least it works with older gcc/g77 combination (gcc 3.4.3 does it right with -m64), also the Sun Compiler with -xarch=v9a and the Intel Itanium compiler. So it is at least a regression compared to gcc 3.4.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23349