------- 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 updeted on 2005-02-13 and compiled with default options) What's strange is that error is only generated when both "vector" and "cout << endl;" parts are there Yuri --- code --- #include <iostream> #include <vector> using namespace std; int main() { vector<int> v; v.resize(100); v[10] = atoi("5"); cout << endl; return (10); } -- error --- /usr/local/gcc-4.0-20050213/lib/gcc/i386-unknown-freebsd5.3/4.0.0/../../../../include/c++/4.0.0/bits/ostream.tcc:67: sorry,unimplemented: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>& (*)(std::basic_ostream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>]': function not inlinable m.C:9: sorry, unimplemented: called from here -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20343