[Bug c/58884] OPTIONAL warning when a temprary value is created and not used.

2019-10-26 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/58884] OPTIONAL warning when a temprary value is created and not used.

2017-10-29 Thread mtewoodbury at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884 --- Comment #4 from Max TenEyck Woodbury --- I think there is a misunderstanding here... These patches, when I submit them, will add a new warning option. It is not appropriate to add this to the normal "unused-value" warning because the situat

[Bug c/58884] OPTIONAL warning when a temprary value is created and not used.

2017-10-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (In reply to Max TenEyck Woodbury from comment #1) > > I found the relevant code in the "gimplify" modules. > > This is the wrong location for this kind of warn

[Bug c/58884] OPTIONAL warning when a temprary value is created and not used.

2017-10-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRME

[Bug c/58884] OPTIONAL warning when a temprary value is created and not used.

2017-10-24 Thread mtewoodbury at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884 Max TenEyck Woodbury changed: What|Removed |Added Component|tree-optimization |c --- Comment #1 from Max TenEyck