OSDN Git Service

* varasm.c (assemble_end_function): Say that 'fnname' is unused.
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Mar 2006 01:26:21 +0000 (01:26 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Mar 2006 01:26:21 +0000 (01:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111836 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/varasm.c

index d407068..8c7f18b 100644 (file)
@@ -1,5 +1,7 @@
 2006-03-07  Geoffrey Keating  <geoffk@apple.com>
 
+       * varasm.c (assemble_end_function): Say that 'fnname' is unused.
+
        * config/i386/i386.c (ix86_delegitimize_address): Handle Darwin
        addresses with offsets; reorganize.
 
index 2e109d9..e6249a5 100644 (file)
@@ -1440,7 +1440,7 @@ assemble_start_function (tree decl, const char *fnname)
    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.  */