Checking Program Correctness

After you have modified your program to fix or reduce data sharing problems, run your test system over this new version of the program to verify its correctness. Because you have not yet introduced any parallelism, the program should still be relatively easy to debug.

To simplify debugging, make and test the changes incrementally. If you accumulate too many changes before you test and debug, it will take longer to identify the cause of any problems found while testing.

有关编译器优化的更完整信息,请参阅优化通知