OSDN Git Service

8
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Apr 1998 00:44:41 +0000 (00:44 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Apr 1998 00:44:41 +0000 (00:44 +0000)
        * calls.c (expand_call): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19068 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index 2716caf..3534bdd 100644 (file)
@@ -989,7 +989,7 @@ expand_call (exp, target, ignore)
     n_named_args
       = (list_length (TYPE_ARG_TYPES (funtype))
         /* Don't include the last named arg.  */
-        - (STRICT_ARGUMENT_NAMING ? 0 : -1)
+        - (STRICT_ARGUMENT_NAMING ? 0 : 1)
         /* Count the struct value address, if it is passed as a parm.  */
         + structure_value_addr_parm);
   else