C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/eesupp/src/fool_the_compiler.F,v 1.7 2002/10/10 20:07:37 adcroft Exp $ C $Name: checkpoint47d_post $ #include "CPP_EEOPTIONS.h" CBOP C !ROUTINE: FOOL_THE_COMPILER C !INTERFACE: SUBROUTINE FOOL_THE_COMPILER( foolishArg ) IMPLICIT NONE C !DESCRIPTION: C *=================================================================* C | SUBROUTINE FOOL_THE_COMPILER | C | o Dummy routine used to supress compiler behavior. | C *=================================================================* C | Routine is used to stop compiler optimizations in which global | C | data is held in a register while it is updated by a separate | C | thread. Calling this routine introduces the possibility of side | C | effects on global data ensuring that memory locs. are reread. | C *=================================================================* CEOP INTEGER foolishArg RETURN END