aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2008-07-07 11:16:11 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2008-07-07 11:16:11 +0000
commit511e41e54d2f5bd036740518781e126ecccbad49 (patch)
treec4441b137be42ff5eae0ea22740896695e0eac0d /gcc/config/m68k
parentbd0e50eecf0f6a9571b4b6d550012e909f32660f (diff)
downloadgcc-511e41e54d2f5bd036740518781e126ecccbad49.zip
gcc-511e41e54d2f5bd036740518781e126ecccbad49.tar.gz
gcc-511e41e54d2f5bd036740518781e126ecccbad49.tar.bz2
* config/m68k/m68k.c (m68k_return_in_memory): Fix arguments types.
From-SVN: r137559
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 04613208..1853073 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -148,7 +148,7 @@ static bool m68k_save_reg (unsigned int regno, bool interrupt_handler);
static bool m68k_ok_for_sibcall_p (tree, tree);
static bool m68k_rtx_costs (rtx, int, int, int *);
#if M68K_HONOR_TARGET_STRICT_ALIGNMENT
-static bool m68k_return_in_memory (tree, tree);
+static bool m68k_return_in_memory (const_tree, const_tree);
#endif
@@ -4627,7 +4627,7 @@ m68k_function_value (const_tree valtype, const_tree func ATTRIBUTE_UNUSED)
/* Worker function for TARGET_RETURN_IN_MEMORY. */
#if M68K_HONOR_TARGET_STRICT_ALIGNMENT
static bool
-m68k_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED)
+m68k_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
{
enum machine_mode mode = TYPE_MODE (type);