------- Comment #12 from nathan at gcc dot gnu dot org 2005-10-17 08:36 ------- the overflow happens in the static constant assignment 'int b = 0x80000000' assigns an unsigned long to an int, and overflows. The int_cst as b's DCL_INITIAL has the overflow flag set. I rejected clearing the overflow flag at that point, because I was worried about other overflow paths on the case label expression (although I failed to excite any).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22551