This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, fortran] PR20441 -finit-local-zero


On 9/14/07, Tobias Burnus <burnus@net-b.de> wrote:
> +      else if (!strcmp (arg, "nan"))
>
> I am wondering whether one should use strcasecmp instead (as people like
> to write INF, NaN,...), but I do not have a real opinion on this.

That's a good idea, and it certainly won't harm anything.

>
> +@option{-finit-real=@var{<zero|inf|-inf|nan>}} (which also initializes
> +the real and imaginary parts of local @code{COMPLEX} variables),
>
> I wonder whether one should add something like
> "Note: @var{nan} initializes REAL and COMPLEX variables with a quiet NaN."
> as some might expect that the NaN are signalling.*


I'll add something like this.  Eventually, I'd like to add
finit-real=<snan,qnan> options, but so far I haven't come up with a
nice kludge to deal with sNaNs in mpfr.


-Asher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]