HPDCS/ROOT-Sim

GCC optimization breaks ULT

Closed this issue · 0 comments

When User Level Threads are enabled and GCC optimization ( from -O1 up ) are put in place. The current event pointer current_evt result to be NULL at the time ProcessEvent is called:

ProcessEvent[lid_to_int(current_lp)](gid_to_int(LidToGid(current_lp)), current_evt->timestamp, current_evt->type, current_evt->event_content, current_evt->size, current_state);