public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [SPARC] Minor tweak
@ 2018-07-13  8:13 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2018-07-13  8:13 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

Tested on SPARC/Solaris, applied on the mainline.


2018-07-13  Eric Botcazou  <ebotcazou@adacore.com>

	* config/sparc/sparc-protos.h (sparc_compute_frame_size): Delete.
	* config/sparc/sparc.c (sparc_compute_frame_size): Make static.

-- 
Eric Botcazou

[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 1089 bytes --]

Index: config/sparc/sparc-protos.h
===================================================================
--- config/sparc/sparc-protos.h	(revision 262551)
+++ config/sparc/sparc-protos.h	(working copy)
@@ -31,7 +31,6 @@ extern unsigned long sparc_type_code (tr
 #endif /* TREE_CODE */
 
 extern void order_regs_for_local_alloc (void);
-extern HOST_WIDE_INT sparc_compute_frame_size (HOST_WIDE_INT, int);
 extern int sparc_initial_elimination_offset (int);
 extern void sparc_expand_prologue (void);
 extern void sparc_flat_expand_prologue (void);
Index: config/sparc/sparc.c
===================================================================
--- config/sparc/sparc.c	(revision 262551)
+++ config/sparc/sparc.c	(working copy)
@@ -5459,7 +5459,7 @@ save_local_or_in_reg_p (unsigned int reg
 /* Compute the frame size required by the function.  This function is called
    during the reload pass and also by sparc_expand_prologue.  */
 
-HOST_WIDE_INT
+static HOST_WIDE_INT
 sparc_compute_frame_size (HOST_WIDE_INT size, int leaf_function)
 {
   HOST_WIDE_INT frame_size, apparent_frame_size;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-13  8:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13  8:13 [SPARC] Minor tweak Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).