This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81476] severe slow-down with range-v3 library compared to clang
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Jul 2017 16:22:25 +0000
- Subject: [Bug c++/81476] severe slow-down with range-v3 library compared to clang
- Auto-submitted: auto-generated
- References: <bug-81476-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Almost all the time is spend in memcpy.
Clang with libstdc++ is equally bad.
Gcc with "g++ -c -nostdinc++ -nodefaultlibs -lc -isystem /usr/include/c++/v1/
-lm -lc++ -lgcc_s -O3 -I./ test.cpp" is fine.
Not sure where the memcpy calls come from.