This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: Fix building arc gcc
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 23 Sep 2009 16:15:41 +0100
- Subject: Commit: Fix building arc gcc
Hi Guys,
I am applying the patch below as an obvious fix for building the ARC
port.
Cheers
Nick
gcc/ChangeLog
2009-09-23 Nick Clifton <nickc@redhat.com>
* config/arc/arc.c (arc_trampoline_init): Fix typo.
Index: gcc/config/arc/arc.c
===================================================================
--- gcc/config/arc/arc.c (revision 152078)
+++ gcc/config/arc/arc.c (working copy)
@@ -2367,7 +2367,7 @@
static void
arc_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value)
{
- rtx fnaddr = XEXP (DECL_RTX (fndecl), 0);
+ rtx fnaddr = XEXP (DECL_RTL (fndecl), 0);
rtx mem;
mem = adjust_address (m_tramp, SImode, 0);