From patchwork Fri May 4 19:43:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Make reload_cse_regs static From: Steven Bosscher X-Patchwork-Id: 156981 Message-Id: To: GCC Patches Date: Fri, 4 May 2012 21:43:51 +0200 Hello, This patch makes reload_cse_regs static because it is never called outside of postreload.c. Will commit next week, after the usual testing and if no-one objects. Ciao! Steven * postreload.c (reload_cse_regs): Make static. * reload.h (reload_cse_regs): Remove prototype. Index: postreload.c =================================================================== --- postreload.c (revision 187177) +++ postreload.c (working copy) @@ -64,7 +64,8 @@ static void move2add_note_store (rtx, co /* 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; Index: reload.h =================================================================== --- reload.h (revision 187177) +++ reload.h (working copy) @@ -411,9 +411,6 @@ extern int push_reload (rtx, rtx, rtx *, 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. */