/[MITgcm]/MITgcm/eesupp/src/fool_the_compiler.F
ViewVC logotype

Diff of /MITgcm/eesupp/src/fool_the_compiler.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5 by cnh, Sun Feb 4 14:38:43 2001 UTC revision 1.6 by cnh, Fri Sep 21 03:54:35 2001 UTC
# Line 3  C $Name$ Line 3  C $Name$
3    
4  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"
5    
6    CBOP
7    
8    C      !ROUTINE: FOOL_THE_COMPILER
9    
10    C      !INTERFACE:
11         SUBROUTINE FOOL_THE_COMPILER         SUBROUTINE FOOL_THE_COMPILER
12         IMPLICIT NONE         IMPLICIT NONE
13    C      !DESCRIPTION:
14    C      *=================================================================*
15    C      | SUBROUTINE FOOL_THE_COMPILER                                    |
16    C      | o Dummy routine used to supress compiler behavior.              |
17    C      *=================================================================*
18    C      | Routine is used to stop compiler optimizations in which global  |
19    C      | data is held in a register while it is updated by a separate    |
20    C      | thread. Calling this routine introduces the possibility of side |
21    C      | effects on global data ensuring that memory locs. are reread.   |
22    C      *=================================================================*
23    CEOP
24         RETURN         RETURN
25         END         END

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22