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

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

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


Revision 1.6.6.1 - (hide annotations) (download)
Fri Mar 7 05:14:11 2003 UTC (21 years, 3 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c50_e32, ecco_c50_e33, ecco_c50_e30, ecco_c50_e31, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, ecco_c50_e29, ecco_c50_e28, ecco_c50_e33a, ecco_c51_e34
Changes since 1.6: +3 -2 lines
merging c44 and e27

1 heimbach 1.6.6.1 C $Header: /u/gcmpack/MITgcm/eesupp/src/fool_the_compiler.F,v 1.7 2002/10/10 20:07:37 adcroft Exp $
2 cnh 1.6 C $Name: $
3 adcroft 1.3
4     #include "CPP_EEOPTIONS.h"
5 cnh 1.1
6 cnh 1.6 CBOP
7    
8     C !ROUTINE: FOOL_THE_COMPILER
9    
10     C !INTERFACE:
11 heimbach 1.6.6.1 SUBROUTINE FOOL_THE_COMPILER( foolishArg )
12 adcroft 1.4 IMPLICIT NONE
13 cnh 1.6 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 heimbach 1.6.6.1 INTEGER foolishArg
25 cnh 1.1 RETURN
26     END

  ViewVC Help
Powered by ViewVC 1.1.22