From 9a4a025a01f27acc76bb275cf5972c3f0ad493a6 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 28 Oct 2007 11:19:49 +0000 Subject: [PATCH] re PR target/33895 (mips.c:6868: error: 'mips_output_dwarf_dtprel' defined but not used) gcc/ PR target/33895 * config/mips/mips.c (mips_output_dwarf_dtprel): Add ATTRIBUTE_UNUSED. From-SVN: r129694 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef136a53d87..e55a92a8364 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-10-28 Richard Sandiford + + PR target/33895 + * config/mips/mips.c (mips_output_dwarf_dtprel): Add ATTRIBUTE_UNUSED. + 2007-10-28 Andreas Krebbel * dce.c (delete_unmarked_insns): Just delete the RETVAL and diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index b2d105b077b..8ab0e2bc10b 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -6783,7 +6783,7 @@ mips_output_filename (FILE *stream, const char *name) /* Implement TARGET_ASM_OUTPUT_DWARF_DTPREL. */ -static void +static void ATTRIBUTE_UNUSED mips_output_dwarf_dtprel (FILE *file, int size, rtx x) { switch (size) -- 2.30.2