From: Li-Ta Lo Date: Thu, 4 Aug 2005 14:59:33 +0000 (+0000) Subject: GCC4 fix X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=9528b8883eba65bf49c3b0d60b415e53fa05f9b3 GCC4 fix git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index 69121e2b8..a28da889d 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);