------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-01 19:15 ------- Reduced testcase: typedef signed int signed16 __attribute__ ((__mode__ (__HI__))); typedef unsigned int unsigned16 __attribute__ ((__mode__ (__HI__))); typedef signed16 HI; typedef unsigned16 UHI; unsigned short f(int y) { HI tmp_b4; tmp_b4 = y; UHI opval; if (tmp_b4 == -32768) opval = 32767; else opval = -tmp_b4; return opval; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-05-01 19:15:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31740