This is the mail archive of the gcc-help@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: GCC much slower than ICL. How to force inline?


Patrick Laurent <laurent@ient.rwth-aachen.de> writes:

> I have a program with many many inline template functions.
> It is essential for the execution speed that every (or almost every)
> function marked as inline, becomes really inlined by the compiler.

Try the -ffast-math option.

If you think there is a real bug here--and it sounds like there is
one--it would be helpful if you could check the gcc bug database at
    http://gcc.gnu.org/bugzilla/
and add a bug report if there isn't already one there.  What we need
for a bug report is the preprocessed .ii file generated by the
--save-temps option.  See also
    http://gcc.gnu.org/bugs.html

Thanks!

Ian


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