remove static in a Cpv to make icpc happy without internal error with -O and -fPIC
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 29 Jul 2009 19:31:36 +0000 (19:31 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 29 Jul 2009 19:31:36 +0000 (19:31 +0000)
src/ck-core/ckmemcheckpoint.C

index 10138dc88dbc370747a3db93c3252bdf0d4f13f9..0507528514cc0317540eb9a6eb398de73aa5a103 100644 (file)
@@ -76,8 +76,8 @@ int killFlag=0;
 double killTime=0.0;
 #endif
 
-/// checkpoint buffer for processor system data
-CpvStaticDeclare(CkProcCheckPTMessage*, procChkptBuf);
+/// checkpoint buffer for processor system data, remove static to make icpc 10.1 pass with -O
+CpvDeclare(CkProcCheckPTMessage*, procChkptBuf);
 
 // compute the backup processor
 // FIXME: avoid crashed processors