[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Sat Jul 6 07:50:44 2019 New Revision: 273156 URL: https://gcc.gnu.org/viewcvs?rev=273156&root=gcc&view=rev Log: PR tree-optimization/91096 * gcc.dg/vect/vect-simd-10.c (F

[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 --- Comment #4 from Jakub Jelinek --- (In reply to Wilco from comment #3) > But why does it always add a redundant test with FLT_MAX in the loop? Which loop do you mean? If the vectorized one, OpenMP has rules on what needs to be done, at the s

[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-05 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 --- Comment #3 from Wilco --- (In reply to Jakub Jelinek from comment #2) > Created attachment 46561 [details] > gcc10-pr91096.patch > > Does this fix it for you? Works for me with: > make check-gcc RUNTESTFLAGS='--target_board=unix\{-ffast-mat

[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 --- Comment #2 from Jakub Jelinek --- Created attachment 46561 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46561&action=edit gcc10-pr91096.patch Does this fix it for you? Works for me with: make check-gcc RUNTESTFLAGS='--target_board=u

[Bug tree-optimization/91096] Openmp vector max reduction incorrect

2019-07-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91096 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1