* [PATCH,committed] MIPS: Mark function parameter ATTRIBUTE_UNUSED in mips.c
@ 2007-08-12 5:48 David Daney
0 siblings, 0 replies; only message in thread
From: David Daney @ 2007-08-12 5:48 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
The 'cycle' parameter to mips_sched_reorder was unused and causing
warnings to be emitted. I added ATTRIBUTE_UNUSED to quiet things down.
Committed as obvious.
2007-08-11 David Daney <ddaney@avtrex.com>
* config/mips/mips.c (mips_sched_reorder): Mark cycle parameter
as ATTRIBUTE_UNUSED.
[-- Attachment #2: mips.c.diff --]
[-- Type: text/x-patch, Size: 492 bytes --]
Index: config/mips/mips.c
===================================================================
--- config/mips/mips.c (revision 127356)
+++ config/mips/mips.c (working copy)
@@ -11111,7 +11111,7 @@ mips_sched_init (FILE *file ATTRIBUTE_UN
static int
mips_sched_reorder (FILE *file ATTRIBUTE_UNUSED, int verbose ATTRIBUTE_UNUSED,
- rtx *ready, int *nreadyp, int cycle)
+ rtx *ready, int *nreadyp, int cycle ATTRIBUTE_UNUSED)
{
if (!reload_completed
&& TUNE_MACC_CHAINS
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-12 5:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-12 5:48 [PATCH,committed] MIPS: Mark function parameter ATTRIBUTE_UNUSED in mips.c David Daney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).