This is the mail archive of the gcc-bugs@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]

[Bug middle-end/21628] GCC much slower than ICL. Lack of inlining?



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


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