This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26749] New: too few arguments to function va_start is caught too late
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2006 16:34:01 -0000
- Subject: [Bug c/26749] New: too few arguments to function va_start is caught too late
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
too few arguments to function va_start is caught in the gimplifier which is
wrong.
if (!arglist || !TREE_CHAIN (arglist))
{
error ("too few arguments to function %<va_start%>");
*expr_p = build_empty_stmt ();
return GS_OK;
}
I only added it here from the previous place of expand (which was wrong also).
--
Summary: too few arguments to function va_start is caught too
late
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26749