------- Comment #5 from steven at gcc dot gnu dot org 2010-02-08 11:29 ------- Trunk today (r156595) produces this:
repl1: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} mov r4, r0 mov r1, #0 bl __gesf2 cmp r0, #0 it lt movlt r4, #0 mov r0, r4 pop {r4, pc} Regarding the redundant mov of comment #4: There is another PR about missed implicit sets after reload, see bug 14770. I'm sure this is the same issue. Thus, fixed. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39716