Patchwork [lra] a tiny patch to fix ARM bootstrap

login
register
mail settings
Submitter Vladimir Makarov
Date Dec. 6, 2012, 12:36 a.m.
Message ID <50BFE891.6020908@redhat.com>
Download mbox | patch
Permalink /patch/204041/
State New
Headers show

Comments

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.

Patch

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;