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]

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);


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