------- Comment #6 from rguenth at gcc dot gnu dot org 2006-03-22 11:19 ------- I guess (only guess!) that the types differe in a way that aliasing does not see them clobbered by means of type based alias analysis. Can you try if -fno-strict-aliasing fixes it?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25737