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: [RFA] Further HONOR_[S]NANS improvements.


On Thu, Aug 01, 2002 at 09:19:17PM +0200, Toon Moene wrote:
> Obviously, I'm not going to invent yet another
> this-optimization-is-not-prohibited-in-Fortran flag.
> 
> Can't these decisions be enforced via language hooks ?

They could be, yes.  Would it make sense to have HONOR_NANS
etc be a hook, for which the default implementation is as
at present?  Then Fortran could say that HONOR_SIGNED_ZERO
and whatnot is always false.

Alternately, you *could* introduce another flag variable
(and not necessarily hook it up to a command-line switch)
that controls signed zeros.


r~


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