http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46347
Summary: Profile-mode executables too large Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: paolo.carl...@oracle.com I believe we should seriously investigate whether we can reduce the size of the profile-mode executables. Likely that means we have also to add exports, but the current status seems really pretty bad. Just as a trivial example, on mainline today (rev 166416), x86_64, -O2, we have, for #include <vector> int main() { std::vector<int> v(100); v.push_back(2); } the following sizes: normal-mode: 12184 debug-mode: 17370 profile-mode: 130345