If no initializer-clause is specified, the private variables will be
initialized following the rules for initialization of objects with static
storage duration.
Need to adjust the implementation to the current version of the
standard.
Paths
| Differential D99539
[OPENMP]Fix PR48740: OpenMP declare reduction in C does not require an initializer ClosedPublic Authored by ABataev on Mar 29 2021, 2:06 PM.
Details Summary If no initializer-clause is specified, the private variables will be Need to adjust the implementation to the current version of the
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 29 2021, 6:41 PM Closed by commit rG1696b8ae96b2: [OPENMP]Fix PR48740: OpenMP declare reduction in C does not require an… (authored by ABataev). · Explain WhyMar 30 2021, 5:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 334120 clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/declare_reduction_ast_print.c
clang/test/OpenMP/declare_reduction_codegen.c
clang/test/OpenMP/declare_reduction_messages.c
|