------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-07 15:45 ------- I think you need to mark both alternatives early-clobber, not only the register one. Thus "=&r&m" at least according to the manual.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41294