This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/61252] Invalid code produced for omp simd reduction(min:var) where var is reference


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61252

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I see a problem in the OpenMP lowering, that said, I hope you know that your
testcase doesn't compute the minimum from all iterations, but just the last few
ones (without -fopenmp just the last one, with -fopenmp from one to
vectorization factor of the loop).  So the value you get doesn't make any
sense.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]