From 711b229b9ed2aaccf9810aafc8d5ac2f9dfb88d4 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Thu, 12 Mar 2009 06:02:13 +0000 Subject: [PATCH] fix gcc bug through evil hack.... --- Robust/src/Runtime/DSTM/interface/dstm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust/src/Runtime/DSTM/interface/dstm.h b/Robust/src/Runtime/DSTM/interface/dstm.h index a7439836..b50052a3 100644 --- a/Robust/src/Runtime/DSTM/interface/dstm.h +++ b/Robust/src/Runtime/DSTM/interface/dstm.h @@ -256,7 +256,7 @@ chashlistnode_t * cnodetmp=&c_table[(inputvalue&c_mask)>>1]; \ do { \ if (cnodetmp->key==inputvalue) {x=(void *)&((objheader_t*)cnodetmp->val)[1];break;} \ cnodetmp=cnodetmp->next;\ -if (cnodetmp==NULL) {x=(void *)transRead2(inputvalue);break;} \ + if (cnodetmp==NULL) {x=(void *)transRead2(inputvalue); if (c_mask==4) {c_mask=0;c_table=0;/* Fixes a GCC bug... */};break;} \ } while(1);\ }} -- 2.34.1