This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] Make MIN and MAX handle NaNs correctly (PR32048)
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Paul Thomas" <paulthomas2 at wanadoo dot fr>
- Cc: tprince at computer dot org, "gfortran list" <fortran at gcc dot gnu dot org>, "gcc-patches list" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Aug 2007 13:18:48 +0100
- Subject: Re: [gfortran,patch] Make MIN and MAX handle NaNs correctly (PR32048)
- References: <B02CF9DC-25CF-43EE-B361-2B7C60789833@gmail.com> <46AB8A43.3060209@myrealbox.com> <FAA3ED93-C640-4F82-8C77-41CFE3099978@gmail.com> <46AC64AD.6020300@wanadoo.fr> <8569C1C7-C33D-4F0C-BBDC-65743CBF25E1@gmail.com>
>> The testsuite now hangs in nan_1.f90 on Cygwin_NT/amd_64. I have
>> never seen this happen before - it does not even time out! It
>> hangs in compilation - if you have any thoughts on how this might
>> be happening, let me know and I'll take a look-see.
>
> Yuck :(
>
> No idea right now, and I don't have cygwin fully setup yet; if you
> run f951 under gdb, and manually break, where is it stuck?
OK, I've built a cygwin compiler and now I see where it hangs... it
has nothing to do with my patch, a reduced testcase is:
module aux
end module aux
Apparently, the compiler then hangs in KERNEL32!GetConsoleCharType. I
think this has something to do with AUX being a special device
somewhere in Windows (a google search for "cygwin aux" brings back
lots of stuff).
So, to avoid this snag, I've changed the module name in the testcase
into aux2 (committed as rev. 127240). The testcase now passes.
FX