X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=Nd9TxrW7AzVyH/Jd JVc6cOTLn0qFAdv7ptJhriRyJyJxs2j7uBsba7F5cGJNy3SoEl+ypXVHAdn9d6HV IO3tQNNb1ohwCjIabxEvrUG6ZXYSwBXR4Vzkc0uf4g/BJ0OtD+dJtkVUBnr+lMes mf5A+uHRWneJUt5ptHnwWrLWsx4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=fxOY06qUFze40rnbrFwW5w Y7/hI=; b=AFK/D8NrKHxBcIDF5eEDUExziuyg52G7VYpKwq0WFFFaRS3K6k/AUM vcWEBSHspqljAw/a23vjA9Y5sywNCQ97U9gFVyhrXHaOSLx4NrD0jayxl4BU7bS0 diaj6vCohV2l2HhTbowXxP4i0HtH2RzCgrCCf/4OmQ5GvTanrOp1c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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== From: Jose Isaias Cabrera To: Agner Fog , "cygwin AT cygwin DOT com" Subject: Re: Bug report. Clang sqrtl(-1) causes access violation Date: Sat, 11 May 2019 03:33:45 +0000 Message-ID: References: <03f2a425-2f3f-4230-c4c5-3265f511d4f5 AT agner DOT org> ,<06482f2d-df3e-7083-15b0-707db4fce98e AT agner DOT org> In-Reply-To: <06482f2d-df3e-7083-15b0-707db4fce98e@agner.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4B3Y2jI001288 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 32bit system which does not fail. But, on my x86_64, I am witnessing the same behaviour you reported. So, now, let's see what the developers say. Thanks. $ clang sqrt.cpp jcabrera AT elimelec /cygdrive/c/source/c++/test $ ls a.exe sqrt.cpp jcabrera AT elimelec /cygdrive/c/source/c++/test $ ./a.exe Segmentation fault (core dumped) jcabrera AT 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 AT 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é -- 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