This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/44471] Wrong call with variadic declaration



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]