This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39678] std::transform is incorrect with std::multiples and bind2nd for complex<float>
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Apr 2009 14:17:59 -0000
- Subject: [Bug c++/39678] std::transform is incorrect with std::multiples and bind2nd for complex<float>
- References: <bug-39678-15185@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo dot carlini at oracle dot com 2009-04-07 14:17 -------
Yes, you are right. Apparently some sort of miscompilation. The problem does
not happen when using the C++ runtime + a different C++ compiler, by the way.
Let's look further into it... The other possibility is that you are triggering
somehow an undefined behavior...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39678