This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31740] [4.3 Regression] Problem while compiling gcc for mips-elf
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2007 18:15:24 -0000
- Subject: [Bug middle-end/31740] [4.3 Regression] Problem while compiling gcc for mips-elf
- References: <bug-31740-14137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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