summaryrefslogtreecommitdiffstats
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-20 21:23:24 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-20 21:23:24 +0000
commit40d475ee1460e9ab2caaf7eda84a2242adab0f1d (patch)
tree95b7d417111fdf6402aa8eeb4b39462b59992b6a /gcc/varasm.c
parent6d4935d2b9a2c3a54cd8761eb7d299f40f8602b4 (diff)
downloadppe42-gcc-40d475ee1460e9ab2caaf7eda84a2242adab0f1d.tar.gz
ppe42-gcc-40d475ee1460e9ab2caaf7eda84a2242adab0f1d.zip
* varasm.c (do_assemble_alias): Restore comment describing function.
Annotate the target parameter as potentially unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96768 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 5392dae3a5e..67b814107a5 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4392,8 +4392,12 @@ find_decl_and_mark_needed (tree decl, tree target)
return NULL_TREE;
}
+/* Output the assembler code for a define (equate) using ASM_OUTPUT_DEF
+ or ASM_OUTPUT_DEF_FROM_DECLS. The function defines the symbol whose
+ tree node is DECL to have the value of the tree node TARGET. */
+
static void
-do_assemble_alias (tree decl, tree target)
+do_assemble_alias (tree decl, tree target ATTRIBUTE_UNUSED)
{
TREE_ASM_WRITTEN (decl) = 1;
TREE_ASM_WRITTEN (DECL_ASSEMBLER_NAME (decl)) = 1;
OpenPOWER on IntegriCloud