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]

fix bootstrap problem on Darwin


Darwin doesn't have a ASM_DECLARE_FUNCTION_SIZE, so 'fnname' is not
used.  Obvious.

-- 
- Geoffrey Keating <geoffk@apple.com>

====================
2006-03-07  Geoffrey Keating  <geoffk@apple.com>

	* varasm.c (assemble_end_function): Say that 'fnname' is unused.

Index: varasm.c
===================================================================
--- varasm.c	(revision 111835)
+++ varasm.c	(working copy)
@@ -1440,7 +1440,7 @@
    function.  DECL describes the function.  NAME is the function's name.  */
 
 void
-assemble_end_function (tree decl, const char *fnname)
+assemble_end_function (tree decl, const char *fnname ATTRIBUTE_UNUSED)
 {
 #ifdef ASM_DECLARE_FUNCTION_SIZE
   /* We could have switched section in the middle of the function.  */
====================


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