https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56676
Vedran Miletic <rivanvx at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rivanvx at gmail dot com
--- Comment #5 from Vedran Miletic <rivanvx at gmail dot com> ---
Confirmed still affecting GCC 6.2.1. Similar C++ example:
#include <numeric>
#include <vector>
float f(std::vector<float>& A, std::vector<float>& B)
{
return std::inner_product(A.begin(), A.end(), B.begin(), 0.f);
}