This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31740] [4.3 Regression] Problem while compiling gcc for mips-elf



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]