From: Maxim Kuvyrkov Date: Mon, 7 Jul 2008 11:16:11 +0000 (+0000) Subject: * config/m68k/m68k.c (m68k_return_in_memory): Fix arguments types. X-Git-Tag: releases/gcc-4.4.0~3959 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=511e41e54d2f5bd036740518781e126ecccbad49;p=thirdparty%2Fgcc.git * config/m68k/m68k.c (m68k_return_in_memory): Fix arguments types. From-SVN: r137559 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e5a68d790e6..2bf1fd6e5107 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 046132088bc7..1853073af816 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);