This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44471] Wrong call with variadic declaration
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2010 22:17:58 -0000
- Subject: [Bug fortran/44471] Wrong call with variadic declaration
- References: <bug-44471-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2010-06-11 22:17 -------
Created an attachment (id=20899)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20899&action=view)
Possible patch
OK, maybe I came out too strong in my last comment.
It is possible to get the front-end to construct a real argument types list
from the arguments list of the external call, as is done in the patch attached.
Maybe it's worth putting in, I don't really know. It's a bit of a hack, but at
least it does work (and it regtests on x86_64-linux).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44471