[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16934] New: gc-sections fails to remove unused C++ member functi
From: |
curaga at operamail dot com |
Subject: |
[Bug ld/16934] New: gc-sections fails to remove unused C++ member functions |
Date: |
Mon, 12 May 2014 08:07:11 +0000 |
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 ld/16934] New: gc-sections fails to remove unused C++ member functions,
curaga at operamail dot com <=