[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-06 19:49 --- The error message that you are seeing is triggered by 'std::endl', a "manipulator" in standard terms, that cannot currently inlined. I have trouble believing that the performance bottleneck of your application is

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread yuri at tsoft dot com
--- Additional Comments From yuri at tsoft dot com 2005-03-06 19:37 --- > You need to define inline as inline __attribute__((always_inline)) Did this, same error message. In my project I NEED to specify explicitely inlining of the functions. Including STL since vector::operator[] or simi

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-06 18:21 --- (In reply to comment #5) > In anyone paying attention to my comment #1 ? This is a *known issue*, > basically > we cannot inline currently pointers to functions. Yes but his definition of inline is incorre

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-03-06 18:18 --- In anyone paying attention to my comment #1 ? This is a *known issue*, basically we cannot inline currently pointers to functions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20343

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-06 18:16 --- Actually this is not a bug. You need to define inline as inline __attribute__((always_inline)). -- What|Removed |Added --

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread yuri at tsoft dot com
--- Additional Comments From yuri at tsoft dot com 2005-03-06 18:10 --- Sorry about this, this appears to be more complex to reporduce than I thought. Compile the following with the options: -O5 -Dinline=__attribute__\(\(__always_inline__\)\) to see the error message. (gcc 4.0 cvs updet

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-06 15:12 --- There is no preprocessed source here or even a source? Could you read http://gcc.gnu.org/bugs.html and attach the needed information? -- What|Removed |Added -

[Bug c++/20343] __always_inline__ fails on STL templatized function

2005-03-06 Thread pcarlini at suse dot de
-- What|Removed |Added Summary|__always_inline__ fails on |__always_inline__ fails on |STL templetized function|STL templatized function http://gc