From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6318 invoked by alias); 11 May 2019 03:33:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6306 invoked by uid 89); 11 May 2019 03:33:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=desktop08pnutf, 3.0.6, H*RU:sk:DB5EUR0, 20190406 X-HELO: EUR01-VE1-obe.outbound.protection.outlook.com Received: from mail-oln040092066040.outbound.protection.outlook.com (HELO EUR01-VE1-obe.outbound.protection.outlook.com) (40.92.66.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 11 May 2019 03:33:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HNCMaVx36kAe1e/XJDNXvnP2VDEapVCe81IosY3z9GA=; b=G8rvCPcm5yeYlrizDf4e8LHsmNlwq3mSHoYEkfAE2oxO3G+bOtML3TzdtmhwpzaPPc5EWXSE4I9QnQ/CdoVPPsblH/P8XN9rds3PYjuf3WaDuza6sy5rBfOXfWL/cQI2XfYjbtzVkGOSDFSc5QkmVqhYdvX/BPNMSRkWueWHZoj45AWPSISm2jAyZyifVGJ9AGseKvttrUe7u90PZLBI1p2PK73WAd5aw2ZAA6ny5XfNMNiJ2ts0xyhm/RtKcKdPSvc8ETGJ0ROsMJ023PrGLnAilscv3cBSg1urUXDQGsvHb3Xpl5qwgBT9OBJLQHhaZehfWoDCsTFDgUM4ipXxvQ== Received: from DB5EUR01FT018.eop-EUR01.prod.protection.outlook.com (10.152.4.57) by DB5EUR01HT110.eop-EUR01.prod.protection.outlook.com (10.152.5.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1856.11; Sat, 11 May 2019 03:33:45 +0000 Received: from DB7PR01MB5386.eurprd01.prod.exchangelabs.com (10.152.4.53) by DB5EUR01FT018.mail.protection.outlook.com (10.152.4.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1856.11 via Frontend Transport; Sat, 11 May 2019 03:33:45 +0000 Received: from DB7PR01MB5386.eurprd01.prod.exchangelabs.com ([fe80::856e:7ca7:1162:c34f]) by DB7PR01MB5386.eurprd01.prod.exchangelabs.com ([fe80::856e:7ca7:1162:c34f%4]) with mapi id 15.20.1878.022; Sat, 11 May 2019 03:33:45 +0000 From: Jose Isaias Cabrera To: Agner Fog , "cygwin@cygwin.com" Subject: Re: Bug report. Clang sqrtl(-1) causes access violation Date: Sat, 11 May 2019 03:33:00 -0000 Message-ID: References: <03f2a425-2f3f-4230-c4c5-3265f511d4f5@agner.org> ,<06482f2d-df3e-7083-15b0-707db4fce98e@agner.org> In-Reply-To: <06482f2d-df3e-7083-15b0-707db4fce98e@agner.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00093.txt.bz2 Agner Fog, on Friday, May 10, 2019 04:55 PM, wrote... >$ uname -a >CYGWIN_NT-10.0 DESKTOP-08PNUTF 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64 >Cygwin > > >$ clang --version >clang version 5.0.1 (tags/RELEASE_501/final) >Target: x86_64-unknown-windows-cygnus >Thread model: posix >InstalledDir: /usr/bin You are correct. There is a problem with the x86_64. I was trying on a 32= bit system which does not fail. But, on my x86_64, I am witnessing the sam= e behaviour you reported. So, now, let's see what the developers say. Tha= nks. $ clang sqrt.cpp jcabrera@elimelec /cygdrive/c/source/c++/test $ ls a.exe sqrt.cpp jcabrera@elimelec /cygdrive/c/source/c++/test $ ./a.exe Segmentation fault (core dumped) jcabrera@elimelec /cygdrive/c/source/c++/test $ uname -a CYGWIN_NT-10.0 elimelec 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin jcabrera@elimelec /cygdrive/c/source/c++/test $ clang --version clang version 5.0.1 (tags/RELEASE_501/final) Target: x86_64-unknown-windows-cygnus Thread model: posix InstalledDir: /usr/bin jos=E9 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple