From 511e41e54d2f5bd036740518781e126ecccbad49 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 7 Jul 2008 11:16:11 +0000 Subject: [PATCH] * config/m68k/m68k.c (m68k_return_in_memory): Fix arguments types. From-SVN: r137559 --- gcc/ChangeLog | 4 ++++ gcc/config/m68k/m68k.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e5a68d790e..2bf1fd6e510 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-07-07 Maxim Kuvyrkov + + * config/m68k/m68k.c (m68k_return_in_memory): Fix arguments types. + 2008-07-07 Mark Shinwell * config/m68k/lb1sf68.asm: Add PIC macros for Linux targets. diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 046132088bc..1853073af81 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); -- 2.30.2