[Bug c++/100224] incorrect result when doing double vectorized

2021-04-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100224 --- Comment #3 from Richard Biener --- (In reply to Zhao Chun from comment #2) > (In reply to Richard Biener from comment #1) > > You are accessing 'double' via a pointer to uint64_t * here: > > > > k = *((uint64_t*)data); > > > > that

[Bug c++/100224] incorrect result when doing double vectorized

2021-04-23 Thread zhaoc at apache dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100224 --- Comment #2 from Zhao Chun --- (In reply to Richard Biener from comment #1) > You are accessing 'double' via a pointer to uint64_t * here: > > k = *((uint64_t*)data); > > that violates type based aliasing rules. You can use -fno-st

[Bug c++/100224] incorrect result when doing double vectorized

2021-04-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100224 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED