------- Comment #4 from matz at gcc dot gnu dot org 2009-09-28 12:08 ------- tree-ssa-sink doesn't sink anything with vuses in it, and if that weren't the case then not any global store. And it isn't totally trivial to make it sink that. It also doesn't move stuff into the post-dominator (not profitable). I don't think it's tree-ssa-sink to do something for the first case as it not only requires sinking, but also transforming the RHS. That's something that sinking simply doesn't do.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41486