This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: On inlining in C++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]