From 9528b8883eba65bf49c3b0d60b415e53fa05f9b3 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Thu, 4 Aug 2005 14:59:33 +0000 Subject: GCC4 fix git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/romcc/romcc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'util') diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index 69121e2b83..a28da889d4 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -1301,7 +1301,10 @@ static struct triple *transform_to_arch_instruction( struct compile_state *state, struct triple *ins); static struct triple *flatten( struct compile_state *state, struct triple *first, struct triple *ptr); - +static void print_dominators(struct compile_state *state, + FILE *fp, struct basic_blocks *bb); +static void print_dominance_frontiers(struct compile_state *state, + FILE *fp, struct basic_blocks *bb); @@ -15293,8 +15296,6 @@ static void romcc_print_blocks(struct compile_state *state, FILE *fp) } static void print_blocks(struct compile_state *state, const char *func, FILE *fp) { - static void print_dominators(struct compile_state *state, FILE *fp, struct basic_blocks *bb); - static void print_dominance_frontiers(struct compile_state *state, FILE *fp, struct basic_blocks *bb); if (state->compiler->debug & DEBUG_BASIC_BLOCKS) { fprintf(fp, "After %s\n", func); romcc_print_blocks(state, fp); -- cgit v1.2.3