This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC much slower than ICL. How to force inline?
- From: Ian Lance Taylor <ian at airs dot com>
- To: Patrick Laurent <laurent at ient dot rwth-aachen dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 17 May 2005 09:55:43 -0400
- Subject: Re: GCC much slower than ICL. How to force inline?
- References: <001201c55ae4$8945e630$75c4e289@im29>
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