This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: On inlining in C++
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Mike Stump <mrs at apple dot com>
- Cc: Joe Buck <jbuck at synopsys dot com>, gcc at gcc dot gnu dot org
- Date: 05 Aug 2003 21:53:06 +0200
- Subject: Re: On inlining in C++
- Organization: Integrable Solutions
- References: <6D411F84-C778-11D7-A9D4-003065A77310@apple.com>
Mike Stump <mrs@apple.com> writes:
[...]
| For example, some numbers were put in for C++ because of odd template
| code, where everything is marked inline but, we don't want to explode
| things, but these same number probably hurt C inlining performance.
| I've not seen too many people complaining that C inlines too much
| (well other than indirectly about -O3, which we can discount as a
| factor for some types of changes), and have seen lots of people
| complaining that C inlines too little, so, bumping up some of the
| numbers for C, easily makes sense.
I guess so, but I would like to avoid the mistake that inlining is
language-neutral.
-- Gaby