Commit 749053f5 by Roger Sayle Committed by Roger Sayle

varasm.c (do_assemble_alias): Restore comment describing function.


	* varasm.c (do_assemble_alias): Restore comment describing function.
	Annotate the target parameter as potentially unused.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r96768
parent 82b3eb42
2005-03-20 Roger Sayle <roger@eyesopen.com>
Joseph S. Myers <joseph@codesourcery.com>
* varasm.c (do_assemble_alias): Restore comment describing function.
Annotate the target parameter as potentially unused.
2005-03-20 Marek Michalkiewicz <marekm@amelek.gda.pl> 2005-03-20 Marek Michalkiewicz <marekm@amelek.gda.pl>
PR target/18551 PR target/18551
......
...@@ -4392,8 +4392,12 @@ find_decl_and_mark_needed (tree decl, tree target) ...@@ -4392,8 +4392,12 @@ find_decl_and_mark_needed (tree decl, tree target)
return NULL_TREE; 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 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) = 1;
TREE_ASM_WRITTEN (DECL_ASSEMBLER_NAME (decl)) = 1; TREE_ASM_WRITTEN (DECL_ASSEMBLER_NAME (decl)) = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment