https://sourceware.org/bugzilla/show_bug.cgi?id=16934
Bug ID: 16934 Summary: gc-sections fails to remove unused C++ member functions Product: binutils Version: 2.23 Status: NEW Severity: enhancement Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: curaga at operamail dot com Created attachment 7595 --> https://sourceware.org/bugzilla/attachment.cgi?id=7595&action=edit Tarball of the testcase. This is an enhancement request. In ld 2.23.1, gc-sections fails to remove some unused C++ class members. This is causing binaries linked with static C++ libs to be megs larger than they could be. Each function is correctly in a separate section, and is not referenced anywhere in the app. Attaching a reduced testcase, and also posting the code as comments. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils