From owner-freebsd-toolchain@FreeBSD.ORG Mon Sep 22 01:43:34 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9C1BCFF for ; Mon, 22 Sep 2014 01:43:34 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtpout002.mac.com [17.172.220.237]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C5B6614 for ; Mon, 22 Sep 2014 01:43:34 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NCA00LVB4RQN0A0@st11p02mm-asmtp002.mac.com> for freebsd-toolchain@freebsd.org; Mon, 22 Sep 2014 01:43:05 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-09-22_01:2014-09-19,2014-09-21,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1409220018 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.0 \(1985.3\)) Subject: Re: Is this a compiler bug? From: Rui Paulo In-reply-to: <670269FD-F75F-4044-8F3C-0260F58A70E2@me.com> Date: Sun, 21 Sep 2014 18:43:01 -0700 Content-transfer-encoding: quoted-printable Message-id: <3D7EBF64-43E5-4255-AC03-8663A52493CD@me.com> References: <20140922011946.GA4317@troutmask.apl.washington.edu> <670269FD-F75F-4044-8F3C-0260F58A70E2@me.com> To: Steve Kargl X-Mailer: Apple Mail (2.1985.3) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 01:43:34 -0000 On Sep 21, 2014, at 18:38, Rui Paulo wrote: > On Sep 21, 2014, at 18:19, Steve Kargl = wrote: >>=20 >> #include >> #include >>=20 >> int >> main(void) >> { >> uint16_t i; >> i =3D 0x3ff0+63; printf("%x\n", i); >> i =3D 0x3ff1+63; printf("%x\n", i); >> i =3D 0x3ff2+63; printf("%x\n", i); >> i =3D 0x3ff3+63; printf("%x\n", i); >> i =3D 0x3ff4+63; printf("%x\n", i); >> i =3D 0x3ff4+63; printf("%x\n", i); >> i =3D 0x3ff6+63; printf("%x\n", i); >> i =3D 0x3ff7+63; printf("%x\n", i); >> i =3D 0x3ff8+63; printf("%x\n", i); >> i =3D 0x3ff9+63; printf("%x\n", i); >> i =3D 0x3ffa+63; printf("%x\n", i); >> i =3D 0x3ffb+63; printf("%x\n", i); >> i =3D 0x3ffc+63; printf("%x\n", i); >> i =3D 0x3ffd+63; printf("%x\n", i); >> i =3D 0x3ffe+63; printf("%x\n", i); >> i =3D 0x3fff+63; printf("%x\n", i); >> return 0; >> } >=20 > Looks like it. Please file a bug report with LLVM. Actually, the same compile error exists with gcc 4.7. I'm not sure why. -- Rui Paulo