------- Comment #8 from rguenth at gcc dot gnu dot org 2006-01-16 15:03 ------- Your char testcase is invalid - it violates type based aliasing rules as you access memory of type char as int and short. Is it solved with -fno-strict-aliasing?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25654