------- Comment #27 from bonzini at gnu dot org 2009-02-10 10:49 ------- The patch does not seem too bad. You could add a target hook to get a HARD_REG_SET or constituting an optimization barriers (defaulting to all call-clobbered registers, which would be okay for all targets that do not have stringops).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39139