Which compiler optimization options should I use for detecting data races in multithreaded programs? | IEEE Conference Publication | IEEE Xplore