This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] Restore bootstrap on hppa2.0w-hp-hpux11.00
- From: Roger Sayle <roger at eyesopen dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 20 Mar 2005 14:27:50 -0700 (MST)
- Subject: [Committed] Restore bootstrap on hppa2.0w-hp-hpux11.00
The following patch addresses the issues raised by Joseph Myers on
Richard Henderson's recent patch to resolve PR target/15700.
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01673.html
This restores bootstrap on PA/HP-UX.
The following patch has been tested on hppa2.0w-hp-hpux11.00, where
a bootstrap of mainline proceeds past the current failure.
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.
Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.483
diff -c -3 -p -r1.483 varasm.c
*** varasm.c 18 Mar 2005 14:57:10 -0000 1.483
--- varasm.c 20 Mar 2005 21:14:44 -0000
*************** find_decl_and_mark_needed (tree decl, tr
*** 4392,4399 ****
return NULL_TREE;
}
static void
! do_assemble_alias (tree decl, tree target)
{
TREE_ASM_WRITTEN (decl) = 1;
TREE_ASM_WRITTEN (DECL_ASSEMBLER_NAME (decl)) = 1;
--- 4392,4403 ----
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 ATTRIBUTE_UNUSED)
{
TREE_ASM_WRITTEN (decl) = 1;
TREE_ASM_WRITTEN (DECL_ASSEMBLER_NAME (decl)) = 1;
Roger
--