[gcc] warning: inlining failed on operator<<(ostream&, complex)
---------------------------------------------------------------
Key: STDCXX-446
URL: https://issues.apache.org/jira/browse/STDCXX-446
Project: C++ Standard Library
Issue Type: Bug
Components: 26. Numerics
Affects Versions: 4.1.3
Environment: gcc 4.1.1
Reporter: Martin Sebor
Assignee: Martin Sebor
Priority: Minor
Fix For: 4.2
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|