This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix bootstrap problem on Darwin
- From: gkeating at apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Mar 2006 17:26:04 -0800 (PST)
- Subject: 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. */
====================