[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 a

[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

[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|

[Bug c/39808] warn_unused_result fails to produce warning

2009-04-22 Thread sandmann at daimi dot au dot dk
--- Comment #3 from sandmann at daimi dot au dot dk 2009-04-22 17:03 --- Why not? If not using the return value is a bug, then it's also a bug if it isn't used after being passed through a statement expression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808

[Bug c/39808] warn_unused_result fails to produce warning

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 17:59 --- I think neither of these cases should be warned about since you are using it with a statement expression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/39808] warn_unused_result fails to produce warning

2009-04-18 Thread sandmann at daimi dot au dot dk
--- Comment #1 from sandmann at daimi dot au dot dk 2009-04-18 17:32 --- Created an attachment (id=17654) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17654&action=view) program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808