aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-10-28 11:19:49 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-10-28 11:19:49 +0000
commit9a4a025a01f27acc76bb275cf5972c3f0ad493a6 (patch)
treedca697cbe84dcfd6d52d44774f07471742dbcb4e
parent137e9a70b73b7077073fd97bea30f6a148daeae7 (diff)
downloadgcc-9a4a025a01f27acc76bb275cf5972c3f0ad493a6.zip
gcc-9a4a025a01f27acc76bb275cf5972c3f0ad493a6.tar.gz
gcc-9a4a025a01f27acc76bb275cf5972c3f0ad493a6.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ef136a5..e55a92a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-28 Richard Sandiford <rsandifo@nildram.co.uk>
+
+ PR target/33895
+ * config/mips/mips.c (mips_output_dwarf_dtprel): Add ATTRIBUTE_UNUSED.
+
2007-10-28 Andreas Krebbel <krebbel1@de.ibm.com>
* 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 b2d105b..8ab0e2b 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)