]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR target/46613
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Nov 2010 21:50:49 +0000 (21:50 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Nov 2010 21:50:49 +0000 (21:50 +0000)
        * 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

gcc/ChangeLog
gcc/config/m32c/m32c-protos.h
gcc/config/m32c/m32c.c

index 753b9702ba034de81ae767b04500be70b9121d24..6ba01c741418d66f452ca78362398d2691c9fc0b 100644 (file)
        * config/picochip/picochip-protos.h: Don't include "target.h" .
        (picochip_secondary_reload): Don't declare.
 
+       PR target/46613
+       * config/m32c/m32c-protos.h (m32c_conditional_register_usage): Declare.
+       * config/m32c/m32c.c (m32c_conditional_register_usage): No longer
+       static.
+
 2010-11-22  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR bootstrap/46609
index 2e7422b5de97157ebb6f0b214bf029c36cbc6e69..f7c32e7e877c255a221d54c64da7317edebc6066 100644 (file)
@@ -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);
index 42b4517f1d9f863cf2ec15a880e1b05d318e8ee6..659de83fcf0d390be0e67c77fca28f8046e44d30 100644 (file)
@@ -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;