Patchwork committed: Fix building of targets without SECONDARY_MEMORY_NEEDED

login
register
mail settings
Submitter Joern Rennecke
Date Oct. 30, 2012, 9:07 p.m.
Message ID <20121030170744.uhca34p9koc8cg4c-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/195625/
State New
Headers show

Comments

Joern Rennecke - Oct. 30, 2012, 9:07 p.m.
Build-tested for mmix-knuth-mmixware.
Commited as obvious.
2012-10-30  Joern Rennecke  <joern.rennecke@embecosm.com>

	* lra-constraints.c (check_secondary_memory_needed_p):
	Add ATTRIBUTE_UNUSED to parameters.

Patch

Index: lra-constraints.c
===================================================================
--- lra-constraints.c	(revision 192992)
+++ lra-constraints.c	(working copy)
@@ -3586,7 +3586,8 @@  skip_usage_debug_insns (rtx usage_insns)
    USAGE_INSNS after inserting inherited pseudo of class INHER_CL
    into the insn.  */
 static bool
-check_secondary_memory_needed_p (enum reg_class inher_cl, rtx usage_insns)
+check_secondary_memory_needed_p (enum reg_class inher_cl ATTRIBUTE_UNUSED,
+				 rtx usage_insns ATTRIBUTE_UNUSED)
 {
 #ifndef SECONDARY_MEMORY_NEEDED
   return false;