diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 084f063c9258..b7df75d5288c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-07 Steven Bosscher + + * postreload.c (reload_cse_regs): Make static. + * reload.h (reload_cse_regs): Remove prototype. + 2012-05-07 Richard Henderson * config/alpha/alpha.md (clear_cache): New pattern. diff --git a/gcc/postreload.c b/gcc/postreload.c index 5c1891294458..751483e26fbc 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -64,7 +64,8 @@ static void move2add_note_store (rtx, const_rtx, void *); /* Call cse / combine like post-reload optimization phases. FIRST is the first instruction. */ -void + +static void reload_cse_regs (rtx first ATTRIBUTE_UNUSED) { bool moves_converted; diff --git a/gcc/reload.h b/gcc/reload.h index ad0cfcd82d8d..f747099abedd 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -411,9 +411,6 @@ extern int push_reload (rtx, rtx, rtx *, rtx *, enum reg_class, enum machine_mode, enum machine_mode, int, int, int, enum reload_type); -/* Functions in postreload.c: */ -extern void reload_cse_regs (rtx); - /* Functions in reload1.c: */ /* Initialize the reload pass once per compilation. */