[Bug fortran/98201] CSQRT function gives bad resuts at runtime

dpozar at ecs dot umass.edu gcc-bugzilla@gcc.gnu.org
Wed Dec 9 00:28:49 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98201

--- Comment #13 from dpozar at ecs dot umass.edu ---
Ok, I have objdump, and the .exe file. What switch options do I need to use in
objdump?

thanks
________________________________
From: kargl at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
Sent: Tuesday, December 8, 2020 5:06 PM
To: David Pozar <dpozar@ecs.umass.edu>
Subject: [Bug fortran/98201] CSQRT function gives bad resuts at runtime

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98201

--- Comment #12 from kargl at gcc dot gnu.org ---
(In reply to dpozar from comment #11)
> Thomas,
>
> that looks good. But I am not sure how to proceed ...
>
> 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.

--
You are receiving this mail because:
You reported the bug.


More information about the Gcc-bugs mailing list