public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/106618] New: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`
@ 2022-08-15  7:40 davidfong19 at gmail dot com
  2022-08-15 15:59 ` [Bug c++/106618] C++ " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: davidfong19 at gmail dot com @ 2022-08-15  7:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106618
           Summary: [docs] Option Summary shows `-fargs-in-order` instead
                    of `-fstrong-eval-order`
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: davidfong19 at gmail dot com
  Target Milestone: ---

When reading through the [Options
Summary](https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html) page, I
noticed that there was an option in the C++ language section,
`-fargs-in-order=n`, that was not listed in [the dedicated page for C++
language
options](https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html).
I did a quick google and one of the top results was about [a gcc patch which
renamed](https://gcc.gnu.org/legacy-ml/gcc-patches/2016-07/txt8uZU1Gq8SB.txt)
the argument to `-fstrong-eval-order`.

I'm guessing it's just a mistake not noticing this documentation which should
be updated?

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

* [Bug c++/106618] C++ Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`
  2022-08-15  7:40 [Bug web/106618] New: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order` davidfong19 at gmail dot com
@ 2022-08-15 15:59 ` pinskia at gcc dot gnu.org
  2022-08-16  6:50 ` marxin at gcc dot gnu.org
  2022-08-16  7:06 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-15 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-08-15
            Summary|[docs] Option Summary shows |C++ Option Summary shows
                   |`-fargs-in-order` instead   |`-fargs-in-order` instead
                   |of `-fstrong-eval-order`    |of `-fstrong-eval-order`
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
            Version|unknown                     |13.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

Something like this:
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index fd7edd1938d..fd719b7b2d4 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -212,7 +212,7 @@ in the following sections.
 @item C++ Language Options
 @xref{C++ Dialect Options,,Options Controlling C++ Dialect}.
 @gccoptlist{-fabi-version=@var{n}  -fno-access-control @gol
--faligned-new=@var{n}  -fargs-in-order=@var{n}  -fchar8_t  -fcheck-new @gol
+-faligned-new=@var{n}  -fchar8_t  -fcheck-new @gol
 -fconstexpr-depth=@var{n}  -fconstexpr-cache-depth=@var{n} @gol
 -fconstexpr-loop-limit=@var{n}  -fconstexpr-ops-limit=@var{n} @gol
 -fno-elide-constructors @gol
@@ -243,6 +243,7 @@ in the following sections.
 -flang-info-include-translate@r{[}=@var{header}@r{]} @gol
 -flang-info-include-translate-not @gol
 -flang-info-module-cmi@r{[}=@var{module}@r{]} @gol
+-fstrong-eval-order @gol
 -stdlib=@var{libstdc++,libc++} @gol
 -Wabi-tag  -Wcatch-value  -Wcatch-value=@var{n} @gol
 -Wno-class-conversion  -Wclass-memaccess @gol

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

* [Bug c++/106618] C++ Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`
  2022-08-15  7:40 [Bug web/106618] New: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order` davidfong19 at gmail dot com
  2022-08-15 15:59 ` [Bug c++/106618] C++ " pinskia at gcc dot gnu.org
@ 2022-08-16  6:50 ` marxin at gcc dot gnu.org
  2022-08-16  7:06 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-08-16  6:50 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
@Andrew: Can you please commit the fix?

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

* [Bug c++/106618] C++ Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`
  2022-08-15  7:40 [Bug web/106618] New: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order` davidfong19 at gmail dot com
  2022-08-15 15:59 ` [Bug c++/106618] C++ " pinskia at gcc dot gnu.org
  2022-08-16  6:50 ` marxin at gcc dot gnu.org
@ 2022-08-16  7:06 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-08-16  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The option takes optional argument, so perhaps
-fstrong-eval-order  -fstrong-eval-order=@var{n}  @gol
instead?

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

end of thread, other threads:[~2022-08-16  7:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15  7:40 [Bug web/106618] New: [docs] Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order` davidfong19 at gmail dot com
2022-08-15 15:59 ` [Bug c++/106618] C++ " pinskia at gcc dot gnu.org
2022-08-16  6:50 ` marxin at gcc dot gnu.org
2022-08-16  7:06 ` jakub 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).