------- Comment #5 from vincent at vinc17 dot org 2006-04-11 15:46 ------- (In reply to comment #4) > I mean the middle-end probably does some "interesting" foldings of > -2147483647L > - 1L as the result -080000000 has the overflow flag set.
The bug also occurs with: (long) -2147483648LL. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27116