[Bug target/40524] gcc 4.4.0 failure of: e1 ? e2 : e3 on Solaris (several machines, all configured differently)
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 23 09:44:00 GMT 2009
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-06-23 09:43 -------
extern void abort (void);
int main ()
{
long int exp = -__LONG_MAX__ - 1;
unsigned long int test = (exp < (long int) 2 ? 2 : (unsigned long int) exp);
if (test != 2)
abort ();
return 0;
}
this is fixed on the 4.4 branch already.
*** This bug has been marked as a duplicate of 39867 ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40524
More information about the Gcc-bugs
mailing list