[Bug c/26749] New: too few arguments to function va_start is caught too late

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 18 16:34:00 GMT 2006


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



More information about the Gcc-bugs mailing list