D-Programming-Language/dmd — pull request #1802 by WalterBright (2013-03-27 01:17:59+00:00)
Title: Fix Issue 4835 - DMD should warn about integer overflow in computed constant

Fix http://d.puremagic.com/issues/show_bug.cgi?id=4835

(but only for signed constants)

And no, it doesn't do Go's thing with computing integer constants to arbitrary precision, and commiting them to a type in a polysemous way like D does with string literals, though we could do that.