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++


Richard Guenther <rguenth@tat.physik.uni-tuebingen.de> writes:

| The point is, all these "people will optimize" suggestions go against
| portability to different compilers.

It is going to be non portable only if compiler back ends decide they
know better and don't trust the programmer preference.  Inline in C++
precisely to cut down the non-portability.  Inline in C++ does not
mean "hey back-end, optimize this as you want".

-- Gaby


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