public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned.
@ 2020-10-01  7:59 olaf.krzikalla at dlr dot de
  2020-10-01  9:44 ` [Bug driver/97263] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: olaf.krzikalla at dlr dot de @ 2020-10-01  7:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97263
           Summary: For -ffinite-math-only -OFast is not mentioned.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olaf.krzikalla at dlr dot de
  Target Milestone: ---

The description of -ffinite-math-only at

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

reads:
"This option is not turned on by any -O option since..."

This is not true for -Ofast. Hence it should read:

"This option is not turned on by any -O option beside -Ofast since..."

See also the description of -ffast-math.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug driver/97263] For -ffinite-math-only -OFast is not mentioned.
  2020-10-01  7:59 [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned olaf.krzikalla at dlr dot de
@ 2020-10-01  9:44 ` rguenth at gcc dot gnu.org
  2024-05-02 21:28 ` [Bug middle-end/97263] " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-01  9:44 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-10-01
            Version|unknown                     |10.2.1
          Component|web                         |driver
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |documentation

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/97263] For -ffinite-math-only -OFast is not mentioned.
  2020-10-01  7:59 [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned olaf.krzikalla at dlr dot de
  2020-10-01  9:44 ` [Bug driver/97263] " rguenth at gcc dot gnu.org
@ 2024-05-02 21:28 ` pinskia at gcc dot gnu.org
  2024-05-06 21:28 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-02 21:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
                 CC|                            |pinskia at gcc dot gnu.org

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I will modify the documentation next week to be more specific on this since
-Ofast is a hot topic right now including in LLVM.

e.g. https://discourse.llvm.org/t/rfc-deprecate-ofast/78687/36

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/97263] For -ffinite-math-only -OFast is not mentioned.
  2020-10-01  7:59 [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned olaf.krzikalla at dlr dot de
  2020-10-01  9:44 ` [Bug driver/97263] " rguenth at gcc dot gnu.org
  2024-05-02 21:28 ` [Bug middle-end/97263] " pinskia at gcc dot gnu.org
@ 2024-05-06 21:28 ` pinskia at gcc dot gnu.org
  2024-05-07  7:46 ` cvs-commit at gcc dot gnu.org
  2024-05-07  7:46 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-06 21:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2024-May/650
                   |                            |841.html

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I noticed a few other options have a similar wording that was incorrect since
-Ofast was added so I fixed them too.

Patch posted:
https://gcc.gnu.org/pipermail/gcc-patches/2024-May/650841.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/97263] For -ffinite-math-only -OFast is not mentioned.
  2020-10-01  7:59 [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned olaf.krzikalla at dlr dot de
                   ` (2 preceding siblings ...)
  2024-05-06 21:28 ` pinskia at gcc dot gnu.org
@ 2024-05-07  7:46 ` cvs-commit at gcc dot gnu.org
  2024-05-07  7:46 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-07  7:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

https://gcc.gnu.org/g:0920e64ffa55adb063174559b274b0a521f34934

commit r15-237-g0920e64ffa55adb063174559b274b0a521f34934
Author: Andrew Pinski <quic_apinski@quicinc.com>
Date:   Mon May 6 14:14:41 2024 -0700

    Mention that some options are turned on by `-Ofast` in their descriptions
[PR97263]

    Like was done for -ffast-math in r0-105946-ga570fc16fa8056, we should
    document that -Ofast enables -fmath-errno, -funsafe-math-optimizations,
    -finite-math-only, -fno-trapping-math in their documentation.

    Note this changes the stronger "must not" to be "is not" for
-fno-trapping-math
    since we do enable it for -Ofast already.

    gcc/ChangeLog:

            PR middle-end/97263
            * doc/invoke.texi(fmath-errno): Document it is turned on
            with -Ofast.
            (funsafe-math-optimizations): Likewise.
            (ffinite-math-only): Likewise.
            (fno-trapping-math): Likewise and use less strong language.

    Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/97263] For -ffinite-math-only -OFast is not mentioned.
  2020-10-01  7:59 [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned olaf.krzikalla at dlr dot de
                   ` (3 preceding siblings ...)
  2024-05-07  7:46 ` cvs-commit at gcc dot gnu.org
@ 2024-05-07  7:46 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-07  7:46 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |15.0

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-07  7:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01  7:59 [Bug web/97263] New: For -ffinite-math-only -OFast is not mentioned olaf.krzikalla at dlr dot de
2020-10-01  9:44 ` [Bug driver/97263] " rguenth at gcc dot gnu.org
2024-05-02 21:28 ` [Bug middle-end/97263] " pinskia at gcc dot gnu.org
2024-05-06 21:28 ` pinskia at gcc dot gnu.org
2024-05-07  7:46 ` cvs-commit at gcc dot gnu.org
2024-05-07  7:46 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).