Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.1.3
-
None
-
gcc 4.1.1
Description
The warnings below suggest that the complex insertion operrator is too big for inlining...
gcc -c -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -pedantic -nostdinc++ -O2 -m32 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/examples/manual/complex.cpp
$(TOPDIR)/include/complex: In function 'int main()':
$(TOPDIR)/include/complex:935: warning: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits<char>]': --param max-inline-insns-single limit reached
$(TOPDIR)/examples/manual/complex.cpp:41: warning: called from here
$(TOPDIR)/include/complex:935: warning: inlining failed in call to 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_TypeT>&) [with _TypeT = double, _CharT = char, _Traits = std::char_traits<char>]': --param max-inline-insns-single limit reached
$(TOPDIR)/examples/manual/complex.cpp:41: warning: called from here