This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?
- From: "laurent at ient dot rwth-aachen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2008 07:59:59 -0000
- Subject: [Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?
- References: <bug-21628-3458@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from laurent at ient dot rwth-aachen dot de 2008-09-28 07:59 -------
(In reply to comment #8)
> Try
> #define inline inline __attribute__((always_inline))
> instead. The inline keyword changes linkage, so you have to keep it.
> If you keep having problems open a new bugreport please, the performance
> issue seems to be still solved.
>
Thank you! It works.
Sorry for my question.
I have still noticed before another problem with
"__attribute__((always_inline))".
I will write a bug report in a few days, as soon as I will reproduce it with a
small test case.
The bug actually accurs at a few positions in the STL with a error message
somewhat like "sorry unimplemented, could not inline". I could temporary fix it
with a few change in the STL.
Are you interested if I post a new report for a performance issue in comparison
to ICL? This performance issue is the only one I know, that still prevents me
from prefering GCC to ICL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21628