public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
@ 2021-09-27 11:36 marxin at gcc dot gnu.org
2021-09-27 11:36 ` [Bug tree-optimization/102497] " marxin at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-27 11:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
Bug ID: 102497
Summary: gimple-predicate-analysis.cc:2143:1: warning: function
'add_pred' is not needed and will not be emitted
[-Wunneeded-internal-declaration]
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: msebor at gcc dot gnu.org
Target Milestone: ---
It's a valid clang warning.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/102497] gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
@ 2021-09-27 11:36 ` marxin at gcc dot gnu.org
2021-09-27 11:41 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-27 11:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
Ever confirmed|0 |1
Last reconfirmed| |2021-09-27
Status|UNCONFIRMED |NEW
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/102497] gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
2021-09-27 11:36 ` [Bug tree-optimization/102497] " marxin at gcc dot gnu.org
@ 2021-09-27 11:41 ` pinskia at gcc dot gnu.org
2021-09-27 12:43 ` marxin at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-27 11:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |internal-improvement
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note GCC's diagnostic for this case is PR 32562.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/102497] gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
2021-09-27 11:36 ` [Bug tree-optimization/102497] " marxin at gcc dot gnu.org
2021-09-27 11:41 ` pinskia at gcc dot gnu.org
@ 2021-09-27 12:43 ` marxin at gcc dot gnu.org
2021-10-11 8:04 ` marxin at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-27 12:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Note GCC's diagnostic for this case is PR 32562.
Heh, you have a pretty great bugzilla cache in your head..
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/102497] gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-09-27 12:43 ` marxin at gcc dot gnu.org
@ 2021-10-11 8:04 ` marxin at gcc dot gnu.org
2021-11-12 11:40 ` cvs-commit at gcc dot gnu.org
2021-11-12 11:40 ` marxin at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-10-11 8:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
@Martin: Can you please take a look?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/102497] gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2021-10-11 8:04 ` marxin at gcc dot gnu.org
@ 2021-11-12 11:40 ` cvs-commit at gcc dot gnu.org
2021-11-12 11:40 ` marxin at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-11-12 11:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:5f516a6a5d7ecce48a86d01fed1aeb4fc4ccc534
commit r12-5190-g5f516a6a5d7ecce48a86d01fed1aeb4fc4ccc534
Author: Martin Liska <mliska@suse.cz>
Date: Fri Nov 12 12:37:26 2021 +0100
Remove unused function.
PR tree-optimization/102497
gcc/ChangeLog:
* gimple-predicate-analysis.cc (add_pred): Remove unused
function:
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/102497] gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration]
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2021-11-12 11:40 ` cvs-commit at gcc dot gnu.org
@ 2021-11-12 11:40 ` marxin at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-11-12 11:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102497
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-11-12 11:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 11:36 [Bug tree-optimization/102497] New: gimple-predicate-analysis.cc:2143:1: warning: function 'add_pred' is not needed and will not be emitted [-Wunneeded-internal-declaration] marxin at gcc dot gnu.org
2021-09-27 11:36 ` [Bug tree-optimization/102497] " marxin at gcc dot gnu.org
2021-09-27 11:41 ` pinskia at gcc dot gnu.org
2021-09-27 12:43 ` marxin at gcc dot gnu.org
2021-10-11 8:04 ` marxin at gcc dot gnu.org
2021-11-12 11:40 ` cvs-commit at gcc dot gnu.org
2021-11-12 11:40 ` marxin 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).