Approved after you fix some minor fomatting nits. Your code has:
Thank you.
I committed the attached nit adjusted patch.
/Marcusdiff --git a/gcc/reload.c b/gcc/reload.c
index 53dcd2d..206fb36 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -4212,7 +4212,12 @@ find_reloads (rtx insn, int repl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/04/12 07:07, Marcus Shawcroft wrote:
> Reload (find_reloads) has code that can replace a register with a
> label_ref when presented with RTL of the form:
>
> (set (reg) (reg) (notes (rtx_equal (label_ref)))
>
> Label references are initially c
Reload (find_reloads) has code that can replace a register with a
label_ref when presented with RTL of the form:
(set (reg) (reg) (notes (rtx_equal (label_ref)))
Label references are initially counted in jump.c:mark_all_labels() and
friends. This code traverses the RTL and counts each observed