ie.
void foo(int &ref) {
#pragma omp parallel reduction(+:ref) {}
}
Paths
| Differential D24524
[OpenMP] clang seg faults when a variable referenced in a reduction clause is parameter reference ClosedPublic Authored by • davidsh on Sep 13 2016, 3:08 PM.
Details Summary ie. #pragma omp parallel reduction(+:ref) {} }
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 14 2016, 4:36 AM
Revision Contents
Diff 71241 lib/Sema/SemaOpenMP.cpp
test/OpenMP/distribute_parallel_for_reduction_messages.cpp
test/OpenMP/distribute_parallel_for_simd_reduction_messages.cpp
test/OpenMP/distribute_simd_reduction_messages.cpp
test/OpenMP/for_reduction_messages.cpp
test/OpenMP/for_simd_reduction_messages.cpp
test/OpenMP/parallel_for_reduction_messages.cpp
test/OpenMP/parallel_for_simd_reduction_messages.cpp
test/OpenMP/parallel_reduction_messages.cpp
test/OpenMP/parallel_sections_reduction_messages.cpp
test/OpenMP/sections_reduction_messages.cpp
test/OpenMP/simd_reduction_messages.cpp
test/OpenMP/target_parallel_for_reduction_messages.cpp
test/OpenMP/target_parallel_for_simd_reduction_messages.cpp
test/OpenMP/target_parallel_reduction_messages.cpp
test/OpenMP/target_simd_reduction_messages.cpp
test/OpenMP/teams_distribute_reduction_messages.cpp
test/OpenMP/teams_reduction_messages.cpp
|