This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Fix typo in m68k.c


Hello,

I've applied the following obvious patch to fix a typo in gcc/config/m68k.c. The function m68k_legitimize_address is declared as static in the beginning of m68k.c, but the definition, for some reason, isn't.

Dully fixed by the following patch.

--
Maxim K.


2009-05-18 Maxim Kuvyrkov <maxim@codesourcery.com>


* config/m68k/m68k.c (m68k_legitimize_address): Fix typo in signature.

Index: gcc/config/m68k/m68k.c
===================================================================
--- gcc/config/m68k/m68k.c (revision 147655)
+++ gcc/config/m68k/m68k.c (working copy)
@@ -1442,7 +1442,7 @@ m68k_legitimize_sibcall_address (rtx x)
However, if REG is a broken-out memory address or multiplication,
nothing needs to be done because REG can certainly go in an address reg. */
-rtx
+static rtx
m68k_legitimize_address (rtx x, rtx oldx, enum machine_mode mode)
{
if (m68k_tls_symbol_p (x))
[



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]