Date: Sun, 21 Sep 2014 18:19:46 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-toolchain@freebsd.org Subject: Is this a compiler bug? Message-ID: <20140922011946.GA4317@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
#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; printf("%x\n", i); i = 0x3ff6+63; printf("%x\n", i); i = 0x3ff7+63; printf("%x\n", i); i = 0x3ff8+63; printf("%x\n", i); i = 0x3ff9+63; printf("%x\n", i); i = 0x3ffa+63; printf("%x\n", i); i = 0x3ffb+63; printf("%x\n", i); i = 0x3ffc+63; printf("%x\n", i); i = 0x3ffd+63; printf("%x\n", i); i = 0x3ffe+63; printf("%x\n", i); i = 0x3fff+63; printf("%x\n", i); return 0; } -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140922011946.GA4317>