Is this a compiler bug?

2014-09-21 Thread Steve Kargl
#include stdio.h #include stdint.h int main(void) { uint16_t i; i = 0x3ff0+63; printf(%x\n, i); i = 0x3ff1+63; printf(%x\n, i); i = 0x3ff2+63; printf(%x\n, i); i = 0x3ff3+63; printf(%x\n, i); i = 0x3ff4+63; printf(%x\n, i); i = 0x3ff4+63;

Re: Is this a compiler bug?

2014-09-21 Thread Rui Paulo
On Sep 21, 2014, at 18:19, Steve Kargl s...@troutmask.apl.washington.edu wrote: #include stdio.h #include stdint.h int main(void) { uint16_t i; i = 0x3ff0+63; printf(%x\n, i); i = 0x3ff1+63; printf(%x\n, i); i = 0x3ff2+63; printf(%x\n, i); i =

Re: Is this a compiler bug?

2014-09-21 Thread Rui Paulo
On Sep 21, 2014, at 18:38, Rui Paulo rpa...@me.com wrote: On Sep 21, 2014, at 18:19, Steve Kargl s...@troutmask.apl.washington.edu wrote: #include stdio.h #include stdint.h int main(void) { uint16_t i; i = 0x3ff0+63; printf(%x\n, i); i = 0x3ff1+63; printf(%x\n, i);

Re: Is this a compiler bug?

2014-09-21 Thread Steve Kargl
On Sun, Sep 21, 2014 at 06:38:48PM -0700, Rui Paulo wrote: On Sep 21, 2014, at 18:19, Steve Kargl s...@troutmask.apl.washington.edu wrote: #include stdio.h #include stdint.h int main(void) { uint16_t i; i = 0x3ff0+63; printf(%x\n, i); i = 0x3ff1+63;

Re: Is this a compiler bug?

2014-09-21 Thread Andriy Gapon
On 22/09/2014 05:20, Rui Paulo wrote: On Sep 21, 2014, at 18:48, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Sun, Sep 21, 2014 at 06:38:48PM -0700, Rui Paulo wrote: On Sep 21, 2014, at 18:19, Steve Kargl s...@troutmask.apl.washington.edu wrote: #include stdio.h #include

Re: Is this a compiler bug?

2014-09-21 Thread Dimitry Andric
On 22 Sep 2014, at 04:20, Rui Paulo rpa...@me.com wrote: On Sep 21, 2014, at 18:48, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Sun, Sep 21, 2014 at 06:38:48PM -0700, Rui Paulo wrote: On Sep 21, 2014, at 18:19, Steve Kargl s...@troutmask.apl.washington.edu wrote: #include