[Bug c++/77542] __attribute__((warn_unused_result)) ignored on function template

2018-09-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77542 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/77542] __attribute__((warn_unused_result)) ignored on function template

2016-09-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77542 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|WAITING

[Bug c++/77542] __attribute__((warn_unused_result)) ignored on function template

2016-09-13 Thread afenkart at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77542 --- Comment #3 from afenkart at gmail dot com --- Created attachment 39608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39608&action=edit excerpt of code showing problem

[Bug c++/77542] __attribute__((warn_unused_result)) ignored on function template

2016-09-13 Thread afenkart at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77542 --- Comment #2 from afenkart at gmail dot com --- (In reply to Andrew Pinski from comment #1) > Do you have a full example which shows the issue? > In your case does ReturnValue have a copy constructor? > If so this is a dup of bug 38172. Note C

[Bug c++/77542] __attribute__((warn_unused_result)) ignored on function template

2016-09-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77542 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|