get rid of VA_START macro

This commit is contained in:
YamaArashi
2016-02-16 01:59:54 -08:00
parent bbe0e72828
commit 75ff61fd74
20 changed files with 49 additions and 49 deletions
+2 -2
View File
@@ -2358,7 +2358,7 @@ emit_library_call (rtx orgfun, int no_queue, enum machine_mode outmode, int narg
#endif
#endif
VA_START (p, nargs);
va_start (p, nargs);
fun = orgfun;
@@ -2841,7 +2841,7 @@ emit_library_call_value (rtx orgfun, rtx value, int no_queue,
#endif
#endif
VA_START (p, nargs);
va_start (p, nargs);
is_const = no_queue;
+1 -1
View File
@@ -9349,7 +9349,7 @@ gen_rtx_combine (enum rtx_code code, enum machine_mode mode, ...)
rtx rt;
struct undo *undo;
VA_START (p, mode);
va_start (p, mode);
n_args = GET_RTX_LENGTH (code);
+2 -2
View File
@@ -113,7 +113,7 @@ cpp_message (cpp_reader *pfile, int is_error, const char *msg, ...)
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
v_cpp_message(pfile, is_error, msg, ap);
@@ -131,7 +131,7 @@ cpp_fatal (cpp_reader *pfile, const char *str, ...)
{
va_list ap;
VA_START (ap, str);
va_start (ap, str);
fprintf (stderr, "%s: ", progname);
+7 -7
View File
@@ -6252,7 +6252,7 @@ cpp_error (cpp_reader * pfile, const char *msg, ...)
{
va_list ap;
VA_START(ap, msg);
va_start(ap, msg);
v_cpp_error (pfile, msg, ap);
@@ -6283,7 +6283,7 @@ cpp_warning (cpp_reader * pfile, const char *msg, ...)
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
v_cpp_warning (pfile, msg, ap);
@@ -6297,7 +6297,7 @@ cpp_pedwarn (cpp_reader * pfile, const char *msg, ...)
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
if (CPP_OPTIONS (pfile)->pedantic_errors)
@@ -6330,7 +6330,7 @@ cpp_error_with_line (cpp_reader * pfile, int line, int column, const char *msg,
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
v_cpp_error_with_line(pfile, line, column, msg, ap);
@@ -6369,7 +6369,7 @@ cpp_warning_with_line (cpp_reader * pfile, int line, int column, const char *msg
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
v_cpp_warning_with_line (pfile, line, column, msg, ap);
@@ -6382,7 +6382,7 @@ cpp_pedwarn_with_line (cpp_reader * pfile, int line, int column, const char *msg
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
if (CPP_OPTIONS (pfile)->pedantic_errors)
@@ -6400,7 +6400,7 @@ cpp_pedwarn_with_file_and_line (cpp_reader *pfile, char *file, int line, const c
{
va_list ap;
VA_START (ap, msg);
va_start (ap, msg);
if (!CPP_OPTIONS (pfile)->pedantic_errors
+2 -2
View File
@@ -341,7 +341,7 @@ gen_rtx (enum rtx_code code, enum machine_mode mode, ...)
register char *fmt; /* Current rtx's format... */
register rtx rt_val; /* RTX to return to caller... */
VA_START (p, mode);
va_start (p, mode);
if (code == CONST_INT)
@@ -415,7 +415,7 @@ gen_rtvec (int n, ...)
va_list p;
rtx *vector;
VA_START (p, n);
va_start (p, n);
if (n == 0)
+1 -1
View File
@@ -2737,7 +2737,7 @@ asm_fprintf (FILE *file, char *p, ...)
char buf[10];
char *q, c;
VA_START (argptr, p);
va_start (argptr, p);
buf[0] = '%';
+2 -2
View File
@@ -5622,7 +5622,7 @@ fatal (char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "%s: ", programname);
@@ -5638,7 +5638,7 @@ error (char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "%s: ", programname);
+3 -3
View File
@@ -545,7 +545,7 @@ attr_rtx (enum rtx_code code, ...)
register struct attr_hash *h;
struct obstack *old_obstack = rtl_obstack;
VA_START (p, code);
va_start (p, code);
/* For each of several cases, search the hash table for an existing entry.
@@ -731,7 +731,7 @@ attr_printf (register int len, const char *fmt, ...)
va_list p;
register char *str;
VA_START (p, fmt);
va_start (p, fmt);
/* Print the string into a temporary location. */
@@ -5803,7 +5803,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genattrtab: ");
+1 -1
View File
@@ -87,7 +87,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "gencodes: ");
+1 -1
View File
@@ -300,7 +300,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genconfig: ");
+1 -1
View File
@@ -710,7 +710,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genemit: ");
+1 -1
View File
@@ -377,7 +377,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genextract: ");
+1 -1
View File
@@ -207,7 +207,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genflags: ");
+1 -1
View File
@@ -315,7 +315,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genopinit: ");
+2 -2
View File
@@ -954,7 +954,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genoutput: ");
@@ -978,7 +978,7 @@ error (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genoutput: ");
+1 -1
View File
@@ -415,7 +415,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genpeep: ");
+1 -1
View File
@@ -1674,7 +1674,7 @@ fatal (const char *format, ...)
{
va_list ap;
VA_START (ap, format);
va_start (ap, format);
fprintf (stderr, "genrecog: ");
+2 -2
View File
@@ -121,7 +121,7 @@ concat (const char *first, ...)
/* First compute the size of the result and get sufficient memory. */
VA_START (args, first);
va_start (args, first);
arg = first;
length = 0;
@@ -137,7 +137,7 @@ concat (const char *first, ...)
/* Now copy the individual pieces to the result string. */
VA_START (args, first);
va_start (args, first);
end = newstr;
arg = first;
+14 -14
View File
@@ -1500,7 +1500,7 @@ error_with_file_and_line (char *file, int line, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_error_with_file_and_line (file, line, s, ap);
@@ -1527,7 +1527,7 @@ error_with_decl (tree decl, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_error_with_decl (decl, s, ap);
@@ -1558,7 +1558,7 @@ error_for_asm (rtx insn, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_error_for_asm (insn, s, ap);
@@ -1580,7 +1580,7 @@ error (char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
verror (s, ap);
@@ -1603,7 +1603,7 @@ fatal (char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
vfatal (s, ap);
@@ -1631,7 +1631,7 @@ warning_with_file_and_line (char *file, int line, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_warning_with_file_and_line (file, line, s, ap);
@@ -1660,7 +1660,7 @@ warning_with_decl (tree decl, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_warning_with_decl (decl, s, ap);
@@ -1693,7 +1693,7 @@ warning_for_asm (rtx insn, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_warning_for_asm (insn, s, ap);
@@ -1715,7 +1715,7 @@ warning (char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
vwarning (s, ap);
@@ -1741,7 +1741,7 @@ pedwarn (char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
vpedwarn (s, ap);
@@ -1775,7 +1775,7 @@ pedwarn_with_decl (tree decl, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_pedwarn_with_decl (decl, s, ap);
@@ -1800,7 +1800,7 @@ pedwarn_with_file_and_line (char *file, int line, char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_pedwarn_with_file_and_line (file, line, s, ap);
@@ -1828,7 +1828,7 @@ sorry (char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
vsorry (s, ap);
@@ -1856,7 +1856,7 @@ really_sorry (char *s, ...)
{
va_list ap;
VA_START (ap, s);
va_start (ap, s);
v_really_sorry (s, ap);
+3 -3
View File
@@ -2972,7 +2972,7 @@ build (enum tree_code code, tree tt, ...)
register int length;
register int i;
VA_START (p, tt);
va_start (p, tt);
t = make_node (code);
@@ -3088,7 +3088,7 @@ build_nt (enum tree_code code, ...)
register int length;
register int i;
VA_START (p, code);
va_start (p, code);
t = make_node (code);
@@ -3113,7 +3113,7 @@ build_parse_node (enum tree_code code, ...)
register int length;
register int i;
VA_START (p, code);
va_start (p, code);
expression_obstack = &temp_decl_obstack;