[lra] a tiny patch to fix ARM bootstrap

Message ID 50BFE891.6020908@redhat.com
State New
Headers show

Commit Message

Vladimir Makarov Dec. 6, 2012, 12:36 a.m.
The following tiny patch is to fix ARM bootstrap failure.

The patch was successfully bootstrapped on ARM.

Committed as rev. 194228.

2012-12-05  Vladimir Makarov  <vmakarov@redhat.com>

         * lra-constraints.c (check_and_process_move): Add ATTRIBUTE_UNUSED
         to parameter sec_mem_p.


Index: lra-constraints.c
--- lra-constraints.c	(revision 194180)
+++ lra-constraints.c	(working copy)
@@ -856,7 +856,7 @@  emit_spill_move (bool to_p, rtx mem_pseu
    SECONDARY_MEMORY_NEEDED says to use secondary memory through
    SEC_MEM_P.  */
 static bool
-check_and_process_move (bool *change_p, bool *sec_mem_p)
+check_and_process_move (bool *change_p, bool *sec_mem_p ATTRIBUTE_UNUSED)
   int sregno, dregno;
   rtx dest, src, dreg, sreg, old_sreg, new_reg, before, scratch_reg;