[Bug fortran/23349] -m64 gives runtime errors in combined Fortran/C programs
georg dot denk at infineon dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 12 12:45:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list