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]

000417 Extra argument to FUNCTION_ARG_ADVANCE in gcc/calls.c


Extra argument to FUNCTION_ARG_ADVANCE in gcc/calls.c:emit_library_call_value_1
dating from before the 19991122 snapshot (probably), giving warnings 
on HP-UX where the NAMED macro argument isn't used.

gcc/calls.c:3351: warning: left-hand operand of comma expression has no effect
gcc/calls.c:3425: warning: left-hand operand of comma expression has no effect

gcc/calls.c:1322:      FUNCTION_ARG_ADVANCE (*args_so_far, TYPE_MODE (type), type,
gcc/calls.c-1323-			    argpos < n_named_args);
--	emit_library_call_value_1
gcc/calls.c:3351:      FUNCTION_ARG_ADVANCE (args_so_far, Pmode, (tree) 0, 1);
gcc/calls.c-3352-
--
gcc/calls.c:3425:      FUNCTION_ARG_ADVANCE (args_so_far, mode, (tree) 0, 1);
gcc/calls.c-3426-    }


gcc/config/pa/pa.h:#define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED)			\

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