http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783
Andrew Stubbs <ams at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ams at gcc dot gnu.org --- Comment #1 from Andrew Stubbs <ams at gcc dot gnu.org> 2011-04-27 09:15:08 UTC --- I don't see any call to __aeabi_uldivmod??? I *do* see __aeabi_uidivmod, and that does seem to be called properly. I get: .global __aeabi_uidiv .global __aeabi_uidivmod .align 2 .thumb .thumb_func .type pll_factors, %function pll_factors: .fnstart [.....] .L54: ldrb r3, [r6, #0] @ zero_extendqisi2 mov r0, r7 mov r1, r4 bfi r3, r5, #1, #4 strb r3, [r6, #0] bl __aeabi_uidivmod movw r5, #52429 movt r5, 52428 mov r0, #167772160 umull r0, r1, r1, r0 [.....] I can't find a bug here?