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