summaryrefslogtreecommitdiff
path: root/gcc/config/m32c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-22 21:50:49 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-22 21:50:49 +0000
commit7182acf559ccae778af9d8f37d2b6ffd89e9a179 (patch)
tree6f1332be1ef4e54b35f31f6d6ae3e70781e4a7c8 /gcc/config/m32c
parentda69a8aa6b1ad00ec738af49ba74736128ce1cfa (diff)
downloadgcc-7182acf559ccae778af9d8f37d2b6ffd89e9a179.tar.gz
PR target/46613
* config/m32c/m32c-protos.h (m32c_conditional_register_usage): Declare. * config/m32c/m32c.c (m32c_conditional_register_usage): No longer static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32c')
-rw-r--r--gcc/config/m32c/m32c-protos.h1
-rw-r--r--gcc/config/m32c/m32c.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/m32c/m32c-protos.h b/gcc/config/m32c/m32c-protos.h
index 2e7422b5de9..f7c32e7e877 100644
--- a/gcc/config/m32c/m32c-protos.h
+++ b/gcc/config/m32c/m32c-protos.h
@@ -22,6 +22,7 @@
#define MM enum machine_mode
#define UINT unsigned int
+void m32c_conditional_register_usage (void);
int m32c_const_ok_for_constraint_p (HOST_WIDE_INT, char, const char *);
UINT m32c_dwarf_frame_regnum (int);
int m32c_eh_return_data_regno (int);
diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c
index 42b4517f1d9..659de83fcf0 100644
--- a/gcc/config/m32c/m32c.c
+++ b/gcc/config/m32c/m32c.c
@@ -88,7 +88,6 @@ static rtx m32c_subreg (enum machine_mode, rtx, enum machine_mode, int);
static int need_to_save (int);
static rtx m32c_function_value (const_tree, const_tree, bool);
static rtx m32c_libcall_value (enum machine_mode, const_rtx);
-static void m32c_conditional_register_usage (void);
/* Returns true if an address is specified, else false. */
static bool m32c_get_pragma_address (const char *varname, unsigned *addr);
@@ -530,7 +529,7 @@ static struct
#undef TARGET_CONDITIONAL_REGISTER_USAGE
#define TARGET_CONDITIONAL_REGISTER_USAGE m32c_conditional_register_usage
-static void
+void
m32c_conditional_register_usage (void)
{
int i;