[Bug tree-optimization/111791] RISC-V: Strange loop vectorizaion on popcount function

2023-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111791 --- Comment #2 from Richard Biener --- It does do that (if there's a POPCOUNT optab, that is). Replacing with __builtin_popcount would eventually lead to an infinite recursion in this case ;) (see that old memcpy + ldist bug)

[Bug tree-optimization/111792] [14 Regression] wrong code at -O3 on x86_64-linux-gnu

2023-10-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111792 Richard Biener changed: What|Removed |Added Summary|wrong code at -O3 on|[14 Regression] wrong code

<    1   2