Compiled from tar.gz gcc 3.0.0 works fine butgprof shows the following
_ZNSt15basic_streambufIcSt11char_traitsIcEE6sbumpcEv
instead of
demangled function name