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 21:55:30 -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 #1 from fxcoudert at gcc dot gnu dot org 2010-06-11 21:55 -------
We generate a variadic prototype for the decl when calling bar because we try
to generate it anew, instead of finding the toplevel decl already existing.
This is (again) the multiple decls issue.
(Well, we could also fix this issue by rebuilding a complete new decl that has
the right argument types, but frankly, we might as well fix the multiple decls
issue.)
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-11 21:55:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44471