public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60460] New: warn_unused_result doesn't warn on unused result when std::pair return type
@ 2014-03-07 21:55 mdennis at merfer dot net
2014-03-07 21:56 ` [Bug c++/60460] " mdennis at merfer dot net
2014-03-07 22:17 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: mdennis at merfer dot net @ 2014-03-07 21:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460
Bug ID: 60460
Summary: warn_unused_result doesn't warn on unused result when
std::pair return type
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mdennis at merfer dot net
possibly doesn't warn for any templated return type.
possibly related to 39808 and/or 47461.
see attached for repro.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/60460] warn_unused_result doesn't warn on unused result when std::pair return type
2014-03-07 21:55 [Bug c++/60460] New: warn_unused_result doesn't warn on unused result when std::pair return type mdennis at merfer dot net
@ 2014-03-07 21:56 ` mdennis at merfer dot net
2014-03-07 22:17 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: mdennis at merfer dot net @ 2014-03-07 21:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460
--- Comment #1 from Matthew Dennis <mdennis at merfer dot net> ---
Created attachment 32308
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32308&action=edit
reproduction of warn_unused_result problem
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/60460] warn_unused_result doesn't warn on unused result when std::pair return type
2014-03-07 21:55 [Bug c++/60460] New: warn_unused_result doesn't warn on unused result when std::pair return type mdennis at merfer dot net
2014-03-07 21:56 ` [Bug c++/60460] " mdennis at merfer dot net
@ 2014-03-07 22:17 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-03-07 22:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 38172.
*** This bug has been marked as a duplicate of bug 38172 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-07 22:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 21:55 [Bug c++/60460] New: warn_unused_result doesn't warn on unused result when std::pair return type mdennis at merfer dot net
2014-03-07 21:56 ` [Bug c++/60460] " mdennis at merfer dot net
2014-03-07 22:17 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).