http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.7.4 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-06 15:21:25 UTC --- enum E { E1 = -1 + (int) (sizeof (int) - 1) }; errors while it used to be accepted before. Dunno if that is valid or not. If it is valid, the series of foldings that result into the overflow are first folding sizeof (int) - 1UL into sizeof (int) + 18446744073709551615UL and later on conversion of -1 + (int) (sizeof (int) + 18446744073709551615UL) to -1 + (int) sizeof (int) + (int) 18446744073709551615UL.