public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field]
@ 2023-12-18 16:59 dcb314 at hotmail dot com
2023-12-18 17:34 ` [Bug tree-optimization/113069] " dcb314 at hotmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2023-12-18 16:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113069
Bug ID: 113069
Summary: gimple-ssa-sccopy.cc:143:12: warning: private field
'curr_generation' is not used [-Wunused-private-field]
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
From today's build of gcc trunk with clang:
gcc $ grep curr_generation gimple-ssa-sccopy.cc
unsigned curr_generation = 0;
gcc $
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113069] gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field]
2023-12-18 16:59 [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field] dcb314 at hotmail dot com
@ 2023-12-18 17:34 ` dcb314 at hotmail dot com
2023-12-19 22:17 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2023-12-18 17:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113069
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fkastl at suse dot cz
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
git blame has this:
cd794c39610 (Filip Kastl 2023-12-14 11:29:31 +0100 143) unsigned
curr_generation = 0;
Adding author for their opinion.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113069] gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field]
2023-12-18 16:59 [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field] dcb314 at hotmail dot com
2023-12-18 17:34 ` [Bug tree-optimization/113069] " dcb314 at hotmail dot com
@ 2023-12-19 22:17 ` mpolacek at gcc dot gnu.org
2023-12-19 22:56 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-12-19 22:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113069
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2023-12-19
Status|UNCONFIRMED |ASSIGNED
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113069] gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field]
2023-12-18 16:59 [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field] dcb314 at hotmail dot com
2023-12-18 17:34 ` [Bug tree-optimization/113069] " dcb314 at hotmail dot com
2023-12-19 22:17 ` mpolacek at gcc dot gnu.org
@ 2023-12-19 22:56 ` cvs-commit at gcc dot gnu.org
2023-12-19 22:56 ` mpolacek at gcc dot gnu.org
2023-12-21 14:24 ` fkastl at suse dot cz
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-12-19 22:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113069
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Marek Polacek <mpolacek@gcc.gnu.org>:
https://gcc.gnu.org/g:40337cae12051336626d39500485cfc488c9c26e
commit r14-6725-g40337cae12051336626d39500485cfc488c9c26e
Author: Marek Polacek <polacek@redhat.com>
Date: Tue Dec 19 13:23:17 2023 -0500
sccopy: remove unused data member [PR113069]
PR tree-optimization/113069
gcc/ChangeLog:
* gimple-ssa-sccopy.cc (scc_discovery): Remove unused member.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113069] gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field]
2023-12-18 16:59 [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field] dcb314 at hotmail dot com
` (2 preceding siblings ...)
2023-12-19 22:56 ` cvs-commit at gcc dot gnu.org
@ 2023-12-19 22:56 ` mpolacek at gcc dot gnu.org
2023-12-21 14:24 ` fkastl at suse dot cz
4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-12-19 22:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113069
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113069] gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field]
2023-12-18 16:59 [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field] dcb314 at hotmail dot com
` (3 preceding siblings ...)
2023-12-19 22:56 ` mpolacek at gcc dot gnu.org
@ 2023-12-21 14:24 ` fkastl at suse dot cz
4 siblings, 0 replies; 6+ messages in thread
From: fkastl at suse dot cz @ 2023-12-21 14:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113069
--- Comment #4 from Filip Kastl <fkastl at suse dot cz> ---
Its a statement I forgot to remove. Thanks for the fix!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-21 14:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-18 16:59 [Bug c/113069] New: gimple-ssa-sccopy.cc:143:12: warning: private field 'curr_generation' is not used [-Wunused-private-field] dcb314 at hotmail dot com
2023-12-18 17:34 ` [Bug tree-optimization/113069] " dcb314 at hotmail dot com
2023-12-19 22:17 ` mpolacek at gcc dot gnu.org
2023-12-19 22:56 ` cvs-commit at gcc dot gnu.org
2023-12-19 22:56 ` mpolacek at gcc dot gnu.org
2023-12-21 14:24 ` fkastl at suse dot cz
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).