This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP] Fix PR46730: Fix compiler crash on taskloop over constructible loop counters.
ClosedPublic

Authored by ABataev on Jul 15 2020, 2:36 PM.

Details

Summary

If the variable is constrcutible, its copy is created by calling a
constructor. Such variables are duplicated and thus, must be captured.

Diff Detail

Event Timeline

ABataev created this revision.Jul 15 2020, 2:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2020, 2:36 PM
This revision is now accepted and ready to land.Jul 24 2020, 6:59 AM
This revision was automatically updated to reflect the committed changes.