This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Inlining warning


The following compilation causes the enclosed warning to occur many times.
Build is 3.3 on hppa-unknown-linux-gnu.

/home/dave/gcc-3.3/objdir/gcc/xgcc -shared-libgcc -B/home/dave/gcc-3.3/objdir/gcc/ -nostdinc++ -L/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/src -L/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-3.3/hppa-linux/bin/ -B/home/dave/opt/gnu/gcc/gcc-3.3/hppa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-3.3/hppa-linux/include -nostdinc++ -I/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include -I../../../../gcc/libstdc++-v3/libsupc++ -I../../../../gcc/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c ../../../../gcc/libstdc++-v3/src/wstring-inst.cc  -fPIC -DPIC -o .libs/wstring-inst.o
In file included from /home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include/bits/basic_string.h:279:
/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include/bits/stl_iterator.h: In
   member function `__gnu_cxx::__normal_iterator<_Iterator, _Container> 
   __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator+(typename 
   std::iterator_traits<_Iterator>::difference_type&) const [with _Iterator = 
   wchar_t*, _Container = std::basic_string<wchar_t, std::char_traits<wchar_t>, 
   std::allocator<wchar_t> >]':
/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include/bits/basic_string.h:279:   instantiated from `__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, _Traits, _Alloc>::_M_check(typename _Alloc::size_type) const [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]'
../../../../gcc/libstdc++-v3/src/string-inst.cc:49:   instantiated from here
/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include/bits/basic_string.h:262: warning: inlining
   failed in call to `__gnu_cxx::__normal_iterator<typename _Alloc::pointer, 
   std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT, 
   _Traits, _Alloc>::_M_ibegin() const [with _CharT = wchar_t, _Traits = 
   std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]'
/home/dave/gcc-3.3/objdir/hppa-linux/libstdc++-v3/include/bits/stl_iterator.h:628: warning: called
   from here
...

Dave
-- 
J. David Anglin                                  dave dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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