[Bug c++/58950] Missing "statement has no effect"

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 --- Comment #26 from Andrew Pinski --- (In reply to Andrew Pinski from comment #25) > (In reply to Marc Glisse from comment #6) > > For: > > > > void f(){ > > int i = 2; > > (i+i); > > } > > This case is fixed on the trunk: > > : In

[Bug c++/58950] Missing "statement has no effect"

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #25 from

[Bug c++/58950] Missing "statement has no effect"

2017-08-22 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 --- Comment #24 from nightstrike --- Ah.. I missed Comment #13, the PR is still open because of a slightly different test. In any case, if it worked in 4.8, it should be a regression.

[Bug c++/58950] Missing "statement has no effect"

2017-08-22 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug c++/58950] Missing statement has no effect

2015-06-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.9.4 |---

[Bug c++/58950] Missing statement has no effect

2015-06-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.9.3 |4.9.4

[Bug c++/58950] Missing statement has no effect

2015-06-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 --- Comment #22 from Jakub Jelinek jakub at gcc dot gnu.org --- GCC 4.9.3 has been released.

[Bug c++/58950] Missing statement has no effect

2015-04-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC||mpolacek at

[Bug c++/58950] Missing statement has no effect

2014-10-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.9.2 |4.9.3 ---

[Bug c++/58950] Missing statement has no effect

2014-07-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.9.1 |4.9.2 ---

[Bug c++/58950] Missing statement has no effect

2014-04-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.9.0 |4.9.1 ---

[Bug c++/58950] Missing statement has no effect

2014-02-24 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||paolo.carlini at

[Bug c++/58950] Missing statement has no effect

2014-02-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 --- Comment #15 from Paolo Carlini paolo.carlini at oracle dot com --- I don't think you simply want a better fix for 54583, because for the testcase in #Comment 13 the new conditional setting TREE_NO_WARNING isn't used. Otherwise, I think it

[Bug c++/58950] Missing statement has no effect

2014-02-24 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 --- Comment #16 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Paolo Carlini from comment #15) I don't think you simply want a better fix for 54583, because for the testcase in #Comment 13 the new conditional setting TREE_NO_WARNING

[Bug c++/58950] Missing statement has no effect

2014-02-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 --- Comment #17 from Paolo Carlini paolo.carlini at oracle dot com --- Yes, I know that. What I'm saying is that other code may want to see that TREE_NO_WARNING honored, the issue doesn't have much to do with 54583 per se. In my personal opinion

[Bug c++/58950] Missing statement has no effect

2014-01-03 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Summary|[4.9 Regression] Missing|Missing statement