------- Comment #1 from hjl dot tools at gmail dot com 2010-06-19 00:52 ------- Created an attachment (id=20941) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20941&action=view) A patch
With this patch, I got
foo:
.LFB0:
.cfi_startproc
movl %edi, %eax
divb %sil
movb %al, z(%rip)
movsbl %ah, %eax
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44588
