From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70A4D384640D; Tue, 8 Dec 2020 22:06:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70A4D384640D From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/98201] CSQRT function gives bad resuts at runtime Date: Tue, 08 Dec 2020 22:06:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2020 22:06:15 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98201 --- Comment #12 from kargl at gcc dot gnu.org --- (In reply to dpozar from comment #11) > Thomas, >=20 > that looks good. But I am not sure how to proceed ... >=20 > dave Well, the first thing to do is to use either nm or objdump on the executable created from the code in comment #1 to determine where csqrtf() lives. If csqrtf() is from a Microsoft library, then we're done here and you need to contact Microsoft. If csqrtf() is from MingW's libm.a (or libm.so), then we're done here and you need to contact MingW. If csqrtf() is from libgfortran.a (or libgfortran.so), then you'll need to look at gcc/libgfortran/intrinsics/c99_functions.c.=