[Bug c/43930] gcc handle short overflow failed

2010-04-28 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-04-29 06:29 --- Yeah, 65536 is correct (unless int is 16-bit, when it would be undefined behavior). -- jakub at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/43930] gcc handle short overflow failed

2010-04-28 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2010-04-29 02:23 --- Subject: Re: New: gcc handle short overflow failed Sent from my iPhone On Apr 28, 2010, at 6:58 PM, "cnstar9988 at gmail dot com" wrote: > #include > #include > > int main(int argc, char **argv) > { > short i =