/[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.3 by adcroft, Fri Jul 3 18:56:18 1998 UTC revision 1.8 by edhill, Sat Mar 27 03:51:51 2004 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3    
4  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"
5    
6         SUBROUTINE FOOL_THE_COMPILER  CBOP
7    
8    C      !ROUTINE: FOOL_THE_COMPILER
9    
10    C      !INTERFACE:
11           SUBROUTINE FOOL_THE_COMPILER( foolishArg )
12           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           INTEGER foolishArg
25         RETURN         RETURN
26         END         END

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22