https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70487
Bug ID: 70487 Summary: warn_unused_result attribute doesn't warn when return type is class Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tkrimer at epochlabs dot com Target Milestone: --- Created attachment 38151 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38151&action=edit repro warn_unused_result attribute doesn't warn when return type is class see attached to reproduce