https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001

--- Comment #5 from Robert Hardwick <Robert.Hardwick at arm dot com> ---
Not working on 11.4.0, i'll try 11.5.0 as you suggest.

$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

 g++ -O3 -march=armv8.2-a+sve test.cpp -o test
$:~/tools/pytorch/pytorch/argmin_test$ ./test
[0, 0, 0, 1, 0, 0, 1, 0]

---

yes apologies, forgot the #include <iostream> line in the reproducible example
code.

Reply via email to