------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-19 20:17 ------- First try -fno-strict-aliasing, since: return *(short*)&tmp;
is violating them. Second I think this is a known issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23972