[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-31 Thread ikonomisma at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #6 from ikonomisma at googlemail dot com --- (In reply to Richard Biener from comment #5) > OK, so I can compile the testcase now but I fail to see the error. We're > doing pointer difference compares and those should work out fine?

[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #5 from Richard Biener --- OK, so I can compile the testcase now but I fail to see the error. We're doing pointer difference compares and those should work out fine? We're also doig many checks but you probably refer to the very

[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-30 Thread ikonomisma at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #4 from ikonomisma at googlemail dot com --- I can reproduce this on both x86_64 and AArch64 Ubuntu 19.10. According to an answer to my question on stack overflow (https://stackoverflow.com/a/59995702/3185968), using std::transform

[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-27 Thread ikonomisma at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #3 from ikonomisma at googlemail dot com --- (In reply to Richard Biener from comment #2) > Hmm, I get > > /home/space/rguenther/install/gcc-9.2/include/c++/9.2.0/pstl/execution_defs. > h:155:7: error: no type named ‘type’ in ‘struct

[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/93440] scalar unrolled loop makes vectorized code unreachable

2020-01-26 Thread ikonomisma at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93440 --- Comment #1 from ikonomisma at googlemail dot com --- Created attachment 47712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47712=edit Minimal example c++ source code to trigger unreachable SIMD vector code