This is an archive of the discontinued LLVM Phabricator instance.

[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
initialized following the rules for initialization of objects with static
storage duration.

Need to adjust the implementation to the current version of the
standard.

Diff Detail

Event Timeline

ABataev created this revision.Mar 29 2021, 2:06 PM
ABataev requested review of this revision.Mar 29 2021, 2:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2021, 2:06 PM
Herald added a subscriber: sstefan1. · View Herald Transcript
This revision is now accepted and ready to land.Mar 29 2021, 6:41 PM