[committed] Add lost ATTRIBUTE_UNUSED
Richard Sandiford
rsandifo@nildram.co.uk
Sun Oct 28 12:13:00 GMT 2007
Removing the forward static declarations from mips.c lost an
ATTRIBUTE_UNUSED for mips_output_dwarf_dtprel (which was attached
to the declaration rather than the definition). I hadn't hit this
because I was using a recent version of binutils. I double-checked,
and this seems to be the only instance of the problem.
Richard
gcc/
PR target/33895
* config/mips/mips.c (mips_output_dwarf_dtprel): Add ATTRIBUTE_UNUSED.
Index: gcc/config/mips/mips.c
===================================================================
--- gcc/config/mips/mips.c (revision 129650)
+++ gcc/config/mips/mips.c (working copy)
@@ -6783,7 +6783,7 @@ mips_output_filename (FILE *stream, cons
/* Implement TARGET_ASM_OUTPUT_DWARF_DTPREL. */
-static void
+static void ATTRIBUTE_UNUSED
mips_output_dwarf_dtprel (FILE *file, int size, rtx x)
{
switch (size)
More information about the Gcc-patches
mailing list