[OMPT] Fix unsafe initialization of ompt_data_t objects.
AcceptedPublic

Authored by hbae on Thu, Sep 13, 9:53 AM.

Details

Summary

Initializing an ompt_data_t object using the pointer union member is potentially unsafe in 32-bit programs.
This change fixes the issue by using the constant, ompt_data_none.

Diff Detail

Repository
rOMP OpenMP
hbae created this revision.Thu, Sep 13, 9:53 AM
This revision is now accepted and ready to land.Fri, Sep 14, 6:15 AM