* [PUSHED] c-family: Add Warning property to Wnrvo option [PR115624]
@ 2024-06-25 4:55 Andrew Pinski
0 siblings, 0 replies; only message in thread
From: Andrew Pinski @ 2024-06-25 4:55 UTC (permalink / raw)
To: gcc-patches; +Cc: Andrew Pinski
This was missing when Wnrvo was added in
r14-1594-g2ae5384d457b9c67586de012816dfc71a6943164 .
Pushed to the trunk and GCC 14 branch as obvious after a bootstrap/test on x86_64-linux-gnu.
gcc/c-family/ChangeLog:
PR C++/115624
* c.opt (Wnrvo): Add Warning property.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
---
gcc/c-family/c.opt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index b067369fa7e..864ef4e3b3d 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -1137,7 +1137,7 @@ C ObjC Var(warn_override_init_side_effects) Init(1) Warning
Warn about overriding initializers with side effects.
Wnrvo
-C++ ObjC++ Var(warn_nrvo)
+C++ ObjC++ Var(warn_nrvo) Warning
Warn if the named return value optimization is not performed although it is allowed.
Wpacked-bitfield-compat
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-25 4:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-25 4:55 [PUSHED] c-family: Add Warning property to Wnrvo option [PR115624] Andrew Pinski
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).