This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] Fix typo in m68k.c
- From: Maxim Kuvyrkov <maxim at codesourcery dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Andreas Schwab <schwab at suse dot de>
- Date: Mon, 18 May 2009 14:29:53 +0400
- Subject: [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))
[