This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/77402] New: Use EBO for _Rb_tree_impl::_M_key_compare
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Aug 2016 13:00:20 +0000
- Subject: [Bug libstdc++/77402] New: Use EBO for _Rb_tree_impl::_M_key_compare
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77402
Bug ID: 77402
Summary: Use EBO for _Rb_tree_impl::_M_key_compare
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ABI
Severity: enhancement
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
We could use the empty base-class optimization to reduce the size of RB trees
by combining the _Key_compare object with _M_node_count.
This would be an ABI break, so can only be enabled for the
gnu-versioned-namespace config.