This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod
- From: "ams at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Apr 2011 09:42:34 +0000
- Subject: [Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod
- Auto-submitted: auto-generated
- References: <bug-48783-4@http.gcc.gnu.org/bugzilla/>
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?