From: steven Date: Mon, 7 May 2012 16:26:14 +0000 (+0000) Subject: * postreload.c (reload_cse_regs): Make static. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98799adcfe3c66693a485d6b1fe93d862134b8ce;p=thirdparty%2Fgcc.git * postreload.c (reload_cse_regs): Make static. * reload.h (reload_cse_regs): Remove prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187258 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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. */