diff options
Diffstat (limited to 'gcc')
-rwxr-xr-x | gcc/calls.c | 26 | ||||
-rwxr-xr-x | gcc/combine.c | 8 | ||||
-rwxr-xr-x | gcc/cpperror.c | 18 | ||||
-rwxr-xr-x | gcc/cpplib.c | 72 | ||||
-rwxr-xr-x | gcc/emit-rtl.c | 14 | ||||
-rwxr-xr-x | gcc/final.c | 8 | ||||
-rwxr-xr-x | gcc/gcc.c | 12 | ||||
-rwxr-xr-x | gcc/genattrtab.c | 20 | ||||
-rwxr-xr-x | gcc/gencodes.c | 6 | ||||
-rwxr-xr-x | gcc/genconfig.c | 6 | ||||
-rwxr-xr-x | gcc/genemit.c | 6 | ||||
-rwxr-xr-x | gcc/genextract.c | 6 | ||||
-rwxr-xr-x | gcc/genflags.c | 6 | ||||
-rwxr-xr-x | gcc/genopinit.c | 6 | ||||
-rwxr-xr-x | gcc/genoutput.c | 12 | ||||
-rwxr-xr-x | gcc/genpeep.c | 6 | ||||
-rwxr-xr-x | gcc/genrecog.c | 6 | ||||
-rwxr-xr-x | gcc/prefix.c | 9 | ||||
-rwxr-xr-x | gcc/toplev.c | 106 | ||||
-rwxr-xr-x | gcc/toplev.h | 2 | ||||
-rwxr-xr-x | gcc/tree.c | 20 |
21 files changed, 0 insertions, 375 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index dbcd98d..cc6c6ac 100755 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2319,12 +2319,6 @@ expand_call (exp, target, ignore) void emit_library_call (rtx orgfun, int no_queue, enum machine_mode outmode, int nargs, ...) { -#ifndef ANSI_PROTOTYPES - rtx orgfun; - int no_queue; - enum machine_mode outmode; - int nargs; -#endif va_list p; /* Total size in bytes of all the stack-parms scanned so far. */ struct args_size args_size; @@ -2366,12 +2360,6 @@ emit_library_call (rtx orgfun, int no_queue, enum machine_mode outmode, int narg VA_START (p, nargs); -#ifndef ANSI_PROTOTYPES - orgfun = va_arg (p, rtx); - no_queue = va_arg (p, int); - outmode = va_arg (p, enum machine_mode); - nargs = va_arg (p, int); -#endif fun = orgfun; @@ -2807,13 +2795,6 @@ rtx emit_library_call_value (rtx orgfun, rtx value, int no_queue, enum machine_mode outmode, int nargs, ...) { -#ifndef ANSI_PROTOTYPES - rtx orgfun; - rtx value; - int no_queue; - enum machine_mode outmode; - int nargs; -#endif va_list p; /* Total size in bytes of all the stack-parms scanned so far. */ struct args_size args_size; @@ -2862,13 +2843,6 @@ emit_library_call_value (rtx orgfun, rtx value, int no_queue, VA_START (p, nargs); -#ifndef ANSI_PROTOTYPES - orgfun = va_arg (p, rtx); - value = va_arg (p, rtx); - no_queue = va_arg (p, int); - outmode = va_arg (p, enum machine_mode); - nargs = va_arg (p, int); -#endif is_const = no_queue; fun = orgfun; diff --git a/gcc/combine.c b/gcc/combine.c index 09c51ac..e66b374 100755 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -9341,10 +9341,6 @@ gen_lowpart_for_combine (mode, x) static rtx gen_rtx_combine (enum rtx_code code, enum machine_mode mode, ...) { -#ifndef ANSI_PROTOTYPES - enum rtx_code code; - enum machine_mode mode; -#endif va_list p; int n_args; rtx args[3]; @@ -9355,10 +9351,6 @@ gen_rtx_combine (enum rtx_code code, enum machine_mode mode, ...) VA_START (p, mode); -#ifndef ANSI_PROTOTYPES - code = va_arg (p, enum rtx_code); - mode = va_arg (p, enum machine_mode); -#endif n_args = GET_RTX_LENGTH (code); fmt = GET_RTX_FORMAT (code); diff --git a/gcc/cpperror.c b/gcc/cpperror.c index 90e2cc2..1d95086 100755 --- a/gcc/cpperror.c +++ b/gcc/cpperror.c @@ -111,20 +111,10 @@ v_cpp_message (pfile, is_error, msg, ap) void cpp_message (cpp_reader *pfile, int is_error, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int is_error; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - is_error = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif v_cpp_message(pfile, is_error, msg, ap); va_end(ap); @@ -139,18 +129,10 @@ cpp_message (cpp_reader *pfile, int is_error, const char *msg, ...) void cpp_fatal (cpp_reader *pfile, const char *str, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *str; -#endif va_list ap; VA_START (ap, str); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - str = va_arg (ap, const char *); -#endif fprintf (stderr, "%s: ", progname); v_cpp_message (pfile, 2, str, ap); diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 41f24f1..914912d 100755 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -6250,18 +6250,10 @@ v_cpp_error (pfile, msg, ap) void cpp_error (cpp_reader * pfile, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *msg; -#endif va_list ap; VA_START(ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - msg = va_arg (ap, const char *); -#endif v_cpp_error (pfile, msg, ap); va_end(ap); @@ -6289,18 +6281,10 @@ v_cpp_warning (pfile, msg, ap) void cpp_warning (cpp_reader * pfile, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - msg = va_arg (ap, const char *); -#endif v_cpp_warning (pfile, msg, ap); va_end(ap); @@ -6311,18 +6295,10 @@ cpp_warning (cpp_reader * pfile, const char *msg, ...) void cpp_pedwarn (cpp_reader * pfile, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - msg = va_arg (ap, const char *); -#endif if (CPP_OPTIONS (pfile)->pedantic_errors) v_cpp_error (pfile, msg, ap); @@ -6352,22 +6328,10 @@ v_cpp_error_with_line (pfile, line, column, msg, ap) void cpp_error_with_line (cpp_reader * pfile, int line, int column, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int line; - int column; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - line = va_arg (ap, int); - column = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif v_cpp_error_with_line(pfile, line, column, msg, ap); va_end(ap); @@ -6403,22 +6367,10 @@ v_cpp_warning_with_line (pfile, line, column, msg, ap) static void cpp_warning_with_line (cpp_reader * pfile, int line, int column, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int line; - int column; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - line = va_arg (ap, int); - column = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif v_cpp_warning_with_line (pfile, line, column, msg, ap); va_end(ap); @@ -6428,22 +6380,10 @@ cpp_warning_with_line (cpp_reader * pfile, int line, int column, const char *msg void cpp_pedwarn_with_line (cpp_reader * pfile, int line, int column, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int line; - int column; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - line = va_arg (ap, int); - column = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif if (CPP_OPTIONS (pfile)->pedantic_errors) v_cpp_error_with_line (pfile, column, line, msg, ap); @@ -6458,22 +6398,10 @@ cpp_pedwarn_with_line (cpp_reader * pfile, int line, int column, const char *msg void cpp_pedwarn_with_file_and_line (cpp_reader *pfile, char *file, int line, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - char *file; - int line; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - file = va_arg (ap, char *); - line = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif if (!CPP_OPTIONS (pfile)->pedantic_errors && CPP_OPTIONS (pfile)->inhibit_warnings) diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 9bacb2e..b09f42c 100755 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -336,10 +336,6 @@ gen_rtx_MEM (mode, addr) rtx gen_rtx (enum rtx_code code, enum machine_mode mode, ...) { -#ifndef ANSI_PROTOTYPES - enum rtx_code code; - enum machine_mode mode; -#endif va_list p; register int i; /* Array indices... */ register char *fmt; /* Current rtx's format... */ @@ -347,10 +343,6 @@ gen_rtx (enum rtx_code code, enum machine_mode mode, ...) VA_START (p, mode); -#ifndef ANSI_PROTOTYPES - code = va_arg (p, enum rtx_code); - mode = va_arg (p, enum machine_mode); -#endif if (code == CONST_INT) rt_val = gen_rtx_CONST_INT (mode, va_arg (p, HOST_WIDE_INT)); @@ -419,18 +411,12 @@ gen_rtx (enum rtx_code code, enum machine_mode mode, ...) rtvec gen_rtvec (int n, ...) { -#ifndef ANSI_PROTOTYPES - int n; -#endif int i; va_list p; rtx *vector; VA_START (p, n); -#ifndef ANSI_PROTOTYPES - n = va_arg (p, int); -#endif if (n == 0) return NULL_RTVEC; /* Don't allocate an empty rtvec... */ diff --git a/gcc/final.c b/gcc/final.c index 93d1fef..1b932fe 100755 --- a/gcc/final.c +++ b/gcc/final.c @@ -2733,20 +2733,12 @@ output_addr_const (file, x) void asm_fprintf (FILE *file, char *p, ...) { -#ifndef ANSI_PROTOTYPES - FILE *file; - char *p; -#endif va_list argptr; char buf[10]; char *q, c; VA_START (argptr, p); -#ifndef ANSI_PROTOTYPES - file = va_arg (argptr, FILE *); - p = va_arg (argptr, char *); -#endif buf[0] = '%'; @@ -5620,16 +5620,10 @@ fancy_abort () static void fatal (char *format, ...) { -#ifndef ANSI_PROTOTYPES - char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, char *); -#endif fprintf (stderr, "%s: ", programname); vfprintf (stderr, format, ap); @@ -5642,16 +5636,10 @@ fatal (char *format, ...) static void error (char *format, ...) { -#ifndef ANSI_PROTOTYPES - char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, char *); -#endif fprintf (stderr, "%s: ", programname); vfprintf (stderr, format, ap); diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 458e5b1..83c5494 100755 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -537,9 +537,6 @@ attr_hash_add_string (hashcode, str) static rtx attr_rtx (enum rtx_code code, ...) { -#ifndef ANSI_PROTOTYPES - enum rtx_code code; -#endif va_list p; register int i; /* Array indices... */ register char *fmt; /* Current rtx's format... */ @@ -550,9 +547,6 @@ attr_rtx (enum rtx_code code, ...) VA_START (p, code); -#ifndef ANSI_PROTOTYPES - code = va_arg (p, enum rtx_code); -#endif /* For each of several cases, search the hash table for an existing entry. Use that entry if one is found; otherwise create a new RTL and add it @@ -734,19 +728,11 @@ attr_rtx (enum rtx_code code, ...) static char * attr_printf (register int len, const char *fmt, ...) { -#ifndef ANSI_PROTOTYPES - register int len; - const char *fmt; -#endif va_list p; register char *str; VA_START (p, fmt); -#ifndef ANSI_PROTOTYPES - len = va_arg (p, int); - fmt = va_arg (p, const char *); -#endif /* Print the string into a temporary location. */ str = (char *) alloca (len); @@ -5815,16 +5801,10 @@ copy_rtx_unchanging (orig) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genattrtab: "); vfprintf (stderr, format, ap); diff --git a/gcc/gencodes.c b/gcc/gencodes.c index 818cef7..fc29670 100755 --- a/gcc/gencodes.c +++ b/gcc/gencodes.c @@ -85,16 +85,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "gencodes: "); vfprintf (stderr, format, ap); diff --git a/gcc/genconfig.c b/gcc/genconfig.c index defc3d5..5a6c04f 100755 --- a/gcc/genconfig.c +++ b/gcc/genconfig.c @@ -298,16 +298,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genconfig: "); vfprintf (stderr, format, ap); diff --git a/gcc/genemit.c b/gcc/genemit.c index ed85fb8..752a537 100755 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -708,16 +708,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genemit: "); vfprintf (stderr, format, ap); diff --git a/gcc/genextract.c b/gcc/genextract.c index 7704b0e..0af7334 100755 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -375,16 +375,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genextract: "); vfprintf (stderr, format, ap); diff --git a/gcc/genflags.c b/gcc/genflags.c index 475655d..4755eac 100755 --- a/gcc/genflags.c +++ b/gcc/genflags.c @@ -205,16 +205,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genflags: "); vfprintf (stderr, format, ap); diff --git a/gcc/genopinit.c b/gcc/genopinit.c index f2a6fed..df0fd37 100755 --- a/gcc/genopinit.c +++ b/gcc/genopinit.c @@ -313,16 +313,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genopinit: "); vfprintf (stderr, format, ap); diff --git a/gcc/genoutput.c b/gcc/genoutput.c index 17eb476..082cf79 100755 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -952,16 +952,10 @@ mybcopy (b1, b2, length) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genoutput: "); vfprintf (stderr, format, ap); @@ -982,16 +976,10 @@ fancy_abort () static void error (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genoutput: "); vfprintf (stderr, format, ap); diff --git a/gcc/genpeep.c b/gcc/genpeep.c index 473ba70..2525c3a 100755 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -413,16 +413,10 @@ xrealloc (old, size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genpeep: "); vfprintf (stderr, format, ap); diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 69cef92..f37e641 100755 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -1672,16 +1672,10 @@ xmalloc(size_t size) static void fatal (const char *format, ...) { -#ifndef ANSI_PROTOTYPES - const char *format; -#endif va_list ap; VA_START (ap, format); -#ifndef ANSI_PROTOTYPES - format = va_arg (ap, const char *); -#endif fprintf (stderr, "genrecog: "); vfprintf (stderr, format, ap); diff --git a/gcc/prefix.c b/gcc/prefix.c index 68875da..4dd8799 100755 --- a/gcc/prefix.c +++ b/gcc/prefix.c @@ -118,16 +118,10 @@ concat (const char *first, ...) register char *end; register const char *arg; va_list args; -#ifndef ANSI_PROTOTYPES - const char *first; -#endif /* First compute the size of the result and get sufficient memory. */ VA_START (args, first); -#ifndef ANSI_PROTOTYPES - first = va_arg (args, const char *); -#endif arg = first; length = 0; @@ -144,9 +138,6 @@ concat (const char *first, ...) /* Now copy the individual pieces to the result string. */ VA_START (args, first); -#ifndef ANSI_PROTOTYPES - first = va_arg (args, char *); -#endif end = newstr; arg = first; diff --git a/gcc/toplev.c b/gcc/toplev.c index cfc8077..0f68f0e 100755 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1498,20 +1498,10 @@ v_error_with_file_and_line (file, line, s, ap) void error_with_file_and_line (char *file, int line, char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *file; - int line; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - file = va_arg (ap, char *); - line = va_arg (ap, int); - s = va_arg (ap, char *); -#endif v_error_with_file_and_line (file, line, s, ap); va_end (ap); @@ -1535,18 +1525,10 @@ v_error_with_decl (decl, s, ap) void error_with_decl (tree decl, char *s, ...) { -#ifndef ANSI_PROTOTYPES - tree decl; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - decl = va_arg (ap, tree); - s = va_arg (ap, char *); -#endif v_error_with_decl (decl, s, ap); va_end (ap); @@ -1574,18 +1556,10 @@ v_error_for_asm (insn, s, ap) void error_for_asm (rtx insn, char *s, ...) { -#ifndef ANSI_PROTOTYPES - rtx insn; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - insn = va_arg (ap, rtx); - s = va_arg (ap, char *); -#endif v_error_for_asm (insn, s, ap); va_end (ap); @@ -1604,16 +1578,10 @@ verror (s, ap) void error (char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - s = va_arg (ap, char *); -#endif verror (s, ap); va_end (ap); @@ -1633,16 +1601,10 @@ vfatal (s, ap) void fatal (char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - s = va_arg (ap, char *); -#endif vfatal (s, ap); va_end (ap); @@ -1667,20 +1629,10 @@ v_warning_with_file_and_line (file, line, s, ap) void warning_with_file_and_line (char *file, int line, char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *file; - int line; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - file = va_arg (ap, char *); - line = va_arg (ap, int); - s = va_arg (ap, char *); -#endif v_warning_with_file_and_line (file, line, s, ap); va_end (ap); @@ -1706,18 +1658,10 @@ v_warning_with_decl (decl, s, ap) void warning_with_decl (tree decl, char *s, ...) { -#ifndef ANSI_PROTOTYPES - tree decl; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - decl = va_arg (ap, tree); - s = va_arg (ap, char *); -#endif v_warning_with_decl (decl, s, ap); va_end (ap); @@ -1747,18 +1691,10 @@ v_warning_for_asm (insn, s, ap) void warning_for_asm (rtx insn, char *s, ...) { -#ifndef ANSI_PROTOTYPES - rtx insn; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - insn = va_arg (ap, rtx); - s = va_arg (ap, char *); -#endif v_warning_for_asm (insn, s, ap); va_end (ap); @@ -1777,16 +1713,10 @@ vwarning (s, ap) void warning (char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - s = va_arg (ap, char *); -#endif vwarning (s, ap); va_end (ap); @@ -1809,16 +1739,10 @@ vpedwarn (s, ap) void pedwarn (char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - s = va_arg (ap, char *); -#endif vpedwarn (s, ap); va_end (ap); @@ -1849,18 +1773,10 @@ v_pedwarn_with_decl (decl, s, ap) void pedwarn_with_decl (tree decl, char *s, ...) { -#ifndef ANSI_PROTOTYPES - tree decl; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - decl = va_arg (ap, tree); - s = va_arg (ap, char *); -#endif v_pedwarn_with_decl (decl, s, ap); va_end (ap); @@ -1882,20 +1798,10 @@ v_pedwarn_with_file_and_line (file, line, s, ap) void pedwarn_with_file_and_line (char *file, int line, char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *file; - int line; - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - file = va_arg (ap, char *); - line = va_arg (ap, int); - s = va_arg (ap, char *); -#endif v_pedwarn_with_file_and_line (file, line, s, ap); va_end (ap); @@ -1920,16 +1826,10 @@ vsorry (s, ap) void sorry (char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - s = va_arg (ap, char *); -#endif vsorry (s, ap); va_end (ap); @@ -1954,16 +1854,10 @@ v_really_sorry (s, ap) void really_sorry (char *s, ...) { -#ifndef ANSI_PROTOTYPES - char *s; -#endif va_list ap; VA_START (ap, s); -#ifndef ANSI_PROTOTYPES - s = va_arg (ap, char *); -#endif v_really_sorry (s, ap); va_end (ap); diff --git a/gcc/toplev.h b/gcc/toplev.h index f380573..9bfd16f 100755 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -21,10 +21,8 @@ Boston, MA 02111-1307, USA. */ #ifndef __GCC_TOPLEV_H__ #define __GCC_TOPLEV_H__ -#ifdef ANSI_PROTOTYPES union tree_node; struct rtx_def; -#endif extern int count_error (int); extern void strip_off_ending (char *, int); @@ -2967,10 +2967,6 @@ stabilize_reference_1 (e) tree build (enum tree_code code, tree tt, ...) { -#ifndef ANSI_PROTOTYPES - enum tree_code code; - tree tt; -#endif va_list p; register tree t; register int length; @@ -2978,10 +2974,6 @@ build (enum tree_code code, tree tt, ...) VA_START (p, tt); -#ifndef ANSI_PROTOTYPES - code = va_arg (p, enum tree_code); - tt = va_arg (p, tree); -#endif t = make_node (code); length = tree_code_length[(int) code]; @@ -3091,9 +3083,6 @@ build1 (code, type, node) tree build_nt (enum tree_code code, ...) { -#ifndef ANSI_PROTOTYPES - enum tree_code code; -#endif va_list p; register tree t; register int length; @@ -3101,9 +3090,6 @@ build_nt (enum tree_code code, ...) VA_START (p, code); -#ifndef ANSI_PROTOTYPES - code = va_arg (p, enum tree_code); -#endif t = make_node (code); length = tree_code_length[(int) code]; @@ -3121,9 +3107,6 @@ build_nt (enum tree_code code, ...) tree build_parse_node (enum tree_code code, ...) { -#ifndef ANSI_PROTOTYPES - enum tree_code code; -#endif register struct obstack *ambient_obstack = expression_obstack; va_list p; register tree t; @@ -3132,9 +3115,6 @@ build_parse_node (enum tree_code code, ...) VA_START (p, code); -#ifndef ANSI_PROTOTYPES - code = va_arg (p, enum tree_code); -#endif expression_obstack = &temp_decl_obstack; |