diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-22 20:55:07 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-22 20:55:07 +0000 |
commit | 76c33df9bce661936ce175002a666ff31230e66d (patch) | |
tree | c49c38982dd55ef3ee08883f0567d9d6d6a43fb6 /gcc | |
parent | 3fb0e0f3311a4714fc10c925cac2f00e6bc8112d (diff) | |
download | gcc-76c33df9bce661936ce175002a666ff31230e66d.tar.gz |
PR target/46608
* config/picochip/picochip.c (picochip_secondary_reload): Make static.
* config/picochip/picochip-protos.h: Don't include "target.h" .
(picochip_secondary_reload): Don't declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/picochip/picochip-protos.h | 7 | ||||
-rw-r--r-- | gcc/config/picochip/picochip.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e16b8e7180c..a12565619e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2010-11-22 Joern Rennecke <amylaar@spamcop.net> + + PR target/46608 + * config/picochip/picochip.c (picochip_secondary_reload): Make static. + * config/picochip/picochip-protos.h: Don't include "target.h" . + (picochip_secondary_reload): Don't declare. + 2010-11-22 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/46609 diff --git a/gcc/config/picochip/picochip-protos.h b/gcc/config/picochip/picochip-protos.h index 991c028afba..b806ea23f74 100644 --- a/gcc/config/picochip/picochip-protos.h +++ b/gcc/config/picochip/picochip-protos.h @@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not, see <http://www.gnu.org/licenses/>. */ -#include "target.h" extern void picochip_function_prologue (FILE *, HOST_WIDE_INT); extern void picochip_function_epilogue (FILE *, HOST_WIDE_INT); @@ -66,12 +65,6 @@ extern int picochip_absolute_memory_operand (rtx op, enum machine_mode mode); extern rtx picochip_function_value (const_tree valtype, const_tree func, bool outgoing); extern int picochip_symbol_offset (rtx operand); -extern reg_class_t picochip_secondary_reload(bool in_p, - rtx x, - reg_class_t cla, - enum machine_mode mode, - secondary_reload_info *sri); - extern void picochip_get_hi_aligned_mem (rtx ref, rtx * paligned_mem, rtx * pbitnum); extern rtx picochip_get_low_const (rtx value); diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index 8550285bd04..20a5b37dedd 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -114,7 +114,7 @@ int picochip_legitimize_reload_address (rtx *x, enum machine_mode mode, rtx picochip_struct_value_rtx(tree fntype ATTRIBUTE_UNUSED, int incoming ATTRIBUTE_UNUSED); rtx picochip_function_value (const_tree valtype, const_tree func ATTRIBUTE_UNUSED, bool outgoing ATTRIBUTE_UNUSED); -reg_class_t +static reg_class_t picochip_secondary_reload (bool in_p, rtx x ATTRIBUTE_UNUSED, reg_class_t cla ATTRIBUTE_UNUSED, @@ -4509,7 +4509,7 @@ picochip_get_high_const (rtx value) choice of two registers to choose from, so that we a guaranteed to get at least one register which is different to the output register. This trick is taken from the alpha implementation. */ -reg_class_t +static reg_class_t picochip_secondary_reload (bool in_p, rtx x ATTRIBUTE_UNUSED, reg_class_t cla ATTRIBUTE_UNUSED, |