On 05/03/15 16:34, Matthew Wahab wrote:
thumb_legitimize_reload_address was added by https://gcc.gnu.org/ml/gcc-patches/2005-08/msg01140.html to fix PR 23436. It replaces sequences like mov r3, r9 mov r2, r10 ldr r0, [r3, r2] with mov r3, r9 add r3, r3, r10 ldr r0, [r3]This looks like it's missing from trunk so I'll open a bugzilla report for it.
PR 65326 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65326). Matthew