Index: openmp/trunk/runtime/src/kmp_tasking.c =================================================================== --- openmp/trunk/runtime/src/kmp_tasking.c +++ openmp/trunk/runtime/src/kmp_tasking.c @@ -758,10 +758,8 @@ { task->ompt_task_info.task_id = __ompt_task_id_new(tid); task->ompt_task_info.function = NULL; - task->ompt_task_info.frame = (ompt_frame_t) { - .exit_runtime_frame = NULL, - .reenter_runtime_frame = NULL - }; + task->ompt_task_info.frame.exit_runtime_frame = NULL; + task->ompt_task_info.frame.reenter_runtime_frame = NULL; } #endif @@ -1035,8 +1033,8 @@ if (ompt_status & ompt_status_track) { taskdata->ompt_task_info.task_id = __ompt_task_id_new(gtid); taskdata->ompt_task_info.function = (void*) task_entry; - taskdata->ompt_task_info.frame = (ompt_frame_t) - { .exit_runtime_frame = NULL, .reenter_runtime_frame = NULL }; + taskdata->ompt_task_info.frame.exit_runtime_frame = NULL; + taskdata->ompt_task_info.frame.reenter_runtime_frame = NULL; } #endif