------- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-22 08:31 ------- load-pre should sink the load and fix the problem at the tree level.
GCSE does it at rtl level for both -O2 and -Os on i686, so maybe costs on alpha are weird enough to prevent it from doing its work at -O2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001