[Bug c/39808] warn_unused_result fails to produce warning in a statement expression

2018-03-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|dave.pagan at oracle dot com,  |paolo.carlini at oracle 
dot com
   |gcc-bugs at gcc dot gnu.org|
   Assignee|unassigned at gcc dot gnu.org  |dave.pagan at oracle 
dot com

--- Comment #6 from Paolo Carlini  ---
Dave is on it.

[Bug c/39808] warn_unused_result fails to produce warning in a statement expression

2018-03-15 Thread dave.pagan at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808

Dave Pagan  changed:

   What|Removed |Added

 CC||dave.pagan at oracle dot com

--- Comment #5 from Dave Pagan  ---
Anyone looking at this? If not, I'd like to.

[Bug c/39808] warn_unused_result fails to produce warning in a statement expression

2017-07-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808

Martin Sebor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-07-25
 CC||msebor at gcc dot gnu.org
Summary|warn_unused_result fails to |warn_unused_result fails to
   |produce warning |produce warning in a
   ||statement expression
 Ever confirmed|0   |1
  Known to fail||5.3.0, 6.3.0, 7.1.0, 8.0

--- Comment #4 from Martin Sebor  ---
Confirmed.