http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59793
Bug ID: 59793 Summary: Warning to suggest making trivial non-virtual method inline Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eugene.zelenko at gmail dot com Hi! I think will be great to have warning which will suggest to make trivial non-vuirtual method inline and move to class declaration. Possible criteria of trivial: 1 line of code dealing only with trivial data types (pointer, integer, float, etc). Eugene.