Commit ef171ead by Andreas Jaeger

toplev.c (set_fast_math_flags): Don't use ISO C style function definitions.

	* toplev.c (set_fast_math_flags): Don't use ISO C style function
	definitions.
	* gengtype.c (open_base_files): Likewise.
	(close_output_files): Likewise.
	* tracer.c (find_best_predecessor): Likewise.
	(find_best_successor): Likewise.
	(ignore_bb_p): Likewise.

From-SVN: r55286
parent 6ab5f795
...@@ -25,6 +25,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -25,6 +25,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* Nonzero iff an error has occurred. */ /* Nonzero iff an error has occurred. */
static int hit_error = 0; static int hit_error = 0;
static void open_base_files PARAMS ((void));
static void close_output_files PARAMS ((void));
/* Report an error at POS, printing MSG. */ /* Report an error at POS, printing MSG. */
void void
...@@ -607,7 +611,7 @@ oprintf VPARAMS ((outf_p o, const char *format, ...)) ...@@ -607,7 +611,7 @@ oprintf VPARAMS ((outf_p o, const char *format, ...))
/* Open the global header file and the language-specific header files. */ /* Open the global header file and the language-specific header files. */
static void static void
open_base_files (void) open_base_files ()
{ {
size_t i; size_t i;
...@@ -795,7 +799,7 @@ get_output_file_name (input_file) ...@@ -795,7 +799,7 @@ get_output_file_name (input_file)
but don't unnecessarily change modification times. */ but don't unnecessarily change modification times. */
static void static void
close_output_files PARAMS ((void)) close_output_files ()
{ {
outf_p of; outf_p of;
......
...@@ -1549,7 +1549,8 @@ set_Wunused (setting) ...@@ -1549,7 +1549,8 @@ set_Wunused (setting)
-ffast-math and -fno-fast-math imply. */ -ffast-math and -fno-fast-math imply. */
void void
set_fast_math_flags (int set) set_fast_math_flags (set)
int set;
{ {
flag_trapping_math = !set; flag_trapping_math = !set;
flag_unsafe_math_optimizations = set; flag_unsafe_math_optimizations = set;
......
/* The tracer pass for the GNU compiler. /* The tracer pass for the GNU compiler.
Contributed by Jan Hubicka, SuSE Labs. Contributed by Jan Hubicka, SuSE Labs.
Copyright (C) 2001 Free Software Foundation, Inc. Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
static int count_insns PARAMS ((basic_block)); static int count_insns PARAMS ((basic_block));
static bool ignore_bb_p PARAMS ((basic_block)); static bool ignore_bb_p PARAMS ((basic_block));
static bool better_p PARAMS ((edge, edge)); static bool better_p PARAMS ((edge, edge));
static edge find_best_successor PARAMS ((basic_block));
static edge find_best_predecessor PARAMS ((basic_block));
static int find_trace PARAMS ((basic_block, basic_block *)); static int find_trace PARAMS ((basic_block, basic_block *));
static void tail_duplicate PARAMS ((void)); static void tail_duplicate PARAMS ((void));
static void layout_superblocks PARAMS ((void)); static void layout_superblocks PARAMS ((void));
...@@ -65,7 +67,8 @@ static int branch_ratio_cutoff; ...@@ -65,7 +67,8 @@ static int branch_ratio_cutoff;
/* Return true if we should ignore the basic block for purposes of tracing. */ /* Return true if we should ignore the basic block for purposes of tracing. */
static bool static bool
ignore_bb_p (basic_block bb) ignore_bb_p (bb)
basic_block bb;
{ {
if (bb->index < 0) if (bb->index < 0)
return true; return true;
...@@ -110,7 +113,8 @@ better_p (e1, e2) ...@@ -110,7 +113,8 @@ better_p (e1, e2)
/* Return most frequent successor of basic block BB. */ /* Return most frequent successor of basic block BB. */
static edge static edge
find_best_successor (basic_block bb) find_best_successor (bb)
basic_block bb;
{ {
edge e; edge e;
edge best = NULL; edge best = NULL;
...@@ -128,7 +132,8 @@ find_best_successor (basic_block bb) ...@@ -128,7 +132,8 @@ find_best_successor (basic_block bb)
/* Return most frequent predecessor of basic block BB. */ /* Return most frequent predecessor of basic block BB. */
static edge static edge
find_best_predecessor (basic_block bb) find_best_predecessor (bb)
basic_block bb;
{ {
edge e; edge e;
edge best = NULL; edge best = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment