This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Remove algo logic duplication Round 3
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Cc: Marc Glisse <marc dot glisse at inria dot fr>, François Dumont <frs dot dumont at gmail dot com>
- Date: Mon, 23 Sep 2013 16:40:09 -0500
- Subject: Re: Remove algo logic duplication Round 3
- Authentication-results: sourceware.org; auth=none
- References: <52409F6F dot 7040609 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309232317070 dot 4088 at laptop-mg dot saclay dot inria dot fr>
On 9/23/13 4:35 PM, Marc Glisse wrote:
I was wondering if we should mark the predefined ops as inline to help
the compiler early-inline them and make it more likely it will
generate the same code as before, or if that may prevent the compiler
from doing even better choices. Probably not worth the trouble.
It's one of the few things I checked today in detail, and I think all of
them are already inline, either because explicitly declared as such, or
because defined in the body of a struct. Or you mean something else?
Paolo.