https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|dave.pagan a
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
--- 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
--- 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
---
--- 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