public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/110596] New: Documentation: typo in the docs for -Wnrvo
@ 2023-07-08 8:16 gennaro.prota+gccbugzilla at gmail dot com
2023-07-08 9:24 ` [Bug c++/110596] " cvs-commit at gcc dot gnu.org
2023-07-08 9:25 ` redi at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: gennaro.prota+gccbugzilla at gmail dot com @ 2023-07-08 8:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110596
Bug ID: 110596
Summary: Documentation: typo in the docs for -Wnrvo
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gennaro.prota+gccbugzilla at gmail dot com
Target Milestone: ---
From the manual (currently,
<https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html>, but I'm afraid this
is a moving target):
-Wnrvo [...]
For instance, in the example below the compiler cannot elide copies from
both
v1 and b2, so it elides neither.
std::vector<int> f()
{
std::vector<int> v1, v2;
// ...
if (cond) return v1;
else return v2; // warning: not eliding copy
}
Clearly, the text should say "v1 and v2", not "v1 and b2".
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/110596] Documentation: typo in the docs for -Wnrvo
2023-07-08 8:16 [Bug c++/110596] New: Documentation: typo in the docs for -Wnrvo gennaro.prota+gccbugzilla at gmail dot com
@ 2023-07-08 9:24 ` cvs-commit at gcc dot gnu.org
2023-07-08 9:25 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-08 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110596
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:72cfa0f799f3a695cc7b6d0c10a27a27fa087c26
commit r14-2391-g72cfa0f799f3a695cc7b6d0c10a27a27fa087c26
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Sat Jul 8 10:22:29 2023 +0100
doc: Fix typos in Warning Options [PR110596]
gcc/ChangeLog:
PR c++/110595
PR c++/110596
* doc/invoke.texi (Warning Options): Fix typos.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/110596] Documentation: typo in the docs for -Wnrvo
2023-07-08 8:16 [Bug c++/110596] New: Documentation: typo in the docs for -Wnrvo gennaro.prota+gccbugzilla at gmail dot com
2023-07-08 9:24 ` [Bug c++/110596] " cvs-commit at gcc dot gnu.org
@ 2023-07-08 9:25 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2023-07-08 9:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110596
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
Target Milestone|--- |14.0
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-08 9:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-08 8:16 [Bug c++/110596] New: Documentation: typo in the docs for -Wnrvo gennaro.prota+gccbugzilla at gmail dot com
2023-07-08 9:24 ` [Bug c++/110596] " cvs-commit at gcc dot gnu.org
2023-07-08 9:25 ` redi 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).