This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53429] complex::{imag,real} should be marked alwaysinline to guarantee libstdc++ binary compatibility between C++98 and C++11
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 May 2012 15:59:44 +0000
- Subject: [Bug libstdc++/53429] complex::{imag,real} should be marked alwaysinline to guarantee libstdc++ binary compatibility between C++98 and C++11
- Auto-submitted: auto-generated
- References: <bug-53429-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53429
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-21 15:59:44 UTC ---
Before fiddling with always inline, I would rather add 3 overloads of
operator<< for float, double and long double, using __rep instead of real and
imag. But I don't have a strong opinion about the PR (I have it about not using
the attribute ;) if somebody wants to do something, please double check with
Gaby.