committed: Fix building of targets without SECONDARY_MEMORY_NEEDED

Submitted by Joern Rennecke on Oct. 30, 2012, 9:07 p.m.

Details

Message ID 20121030170744.uhca34p9koc8cg4c-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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;