[Bug tree-optimization/44976] reductions with short variables do not get vectorized

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44976 Richard Biener changed: What|Removed |Added Known to work||10.1.0 Resolution|---

[Bug tree-optimization/44976] reductions with short variables do not get vectorized

2018-11-22 Thread amylaar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44976 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||amylaar at gcc dot gnu.org ---

[Bug tree-optimization/44976] reductions with short variables do not get vectorized

2010-07-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-20 14:48 --- t.c:6: note: reduction: not commutative/associative: sum_13 = (short int) D.2726_12; this is because sum = (short)((int)sum + (int)a[i]); cannot be folded to sum = sum + a[i]; as that exposes new undefined