diff mbox

[rs6000] Preserve link stack for 476 cpus

Message ID 20111102045857.GC31649@bubble.grove.modra.org
State New
Headers show

Commit Message

Alan Modra Nov. 2, 2011, 4:58 a.m. UTC
On Tue, Nov 01, 2011 at 02:00:25PM -0500, Peter Bergner wrote:
> 	(get_ppc476_thunk_name): New function.
> 	(rs6000_code_end): Likewise.

rs6000.c:27968:1: error: 'void rs6000_code_end()' defined but not used [-Werror=unused-function]
cc1plus: all warnings being treated as errors

Bootstrapped and committed as obvious, revision 180761.

	* config/rs6000/rs6000.c (rs6000_code_end): Declare ATTRIBUTE_UNUSED.
diff mbox

Patch

Index: gcc/config/rs6000/rs6000.c
===================================================================
--- gcc/config/rs6000/rs6000.c	(revision 180754)
+++ gcc/config/rs6000/rs6000.c	(working copy)
@@ -1176,6 +1176,7 @@  static void rs6000_trampoline_init (rtx,
 static bool rs6000_cannot_force_const_mem (enum machine_mode, rtx);
 static bool rs6000_legitimate_constant_p (enum machine_mode, rtx);
 static bool rs6000_save_toc_in_prologue_p (void);
+static void rs6000_code_end (void) ATTRIBUTE_UNUSED;
 
 /* Hash table stuff for keeping track of TOC entries.  */