This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jul 2018 22:32:53 +0000
- Subject: [Bug libstdc++/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays
- Auto-submitted: auto-generated
- References: <bug-86471-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Does -O3 bring the performance back? -O3 enables loop distrubtion which should
be able to detect these loops.