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

2014-05-20 Thread hazeman11 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61252 --- Comment #3 from hazeman11 at gmail dot com --- Created attachment 32827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32827&action=edit corrected minimal example

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

2014-05-20 Thread hazeman11 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61252 --- Comment #2 from hazeman11 at gmail dot com --- Yep sorry for so "stupid" example. I've reduced it to bare minimum without looking whether it does make sense. Ofcourse something like maxstep = std::min(std::min(a0[i],a1[i]),m

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

2014-05-20 Thread hazeman11 at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hazeman11 at gmail dot com Created attachment 32826 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32826&action=edit minimal code with reduce_bad Invalid code p