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

--- Comment #12 from anlauf at gcc dot gnu.org ---
(In reply to Steve Kargl from comment #11)
> On Sun, Dec 10, 2023 at 09:45:33PM +0000, anlauf at gcc dot gnu.org wrote:
> > The flag -fdec-math now seems fully dysfunctional, i.e. it does nothing.
> > I adjusted the documentation (intrinsic.texi, invoke.texi) declaring it
> > obsolete.
> 
> In looking (briefly) at -fdec-math, I'm not sure it ever had
> an effect.  I left -fdec-math in options.cc for backwards
> compatibilities in Makefiles as it should be a no-opt.

I think it is fine to leave the switch in options.cc.  Just updating the
documentation should suffice, no bothering of users.

Apparently Fritz implemented -fdec-math in r7-3677-g8e8c2744faa0cf, and
this part of code was rewritten later.

> > Can you have a look?  If you think everything is fine, please submit to the
> > ML so that others have a chance to have a look.  Or should I do it?
> 
> I'll give your updated patch a scan early next week.  I can submit
> the patch to both fortran@ and gcc-patches@.  AS you know, I won't
> be committing it as I am too git incompetent to do so.

Jerry or myself can do the commit later.

Looking at my addition again, I think that this change to invoke.texi:

"... These functions are now GNU extensions."

should correctly read: "These functions are now either part of Fortran 2023
or GNU extensions."

Note to myself to fix this.

Reply via email to