summaryrefslogtreecommitdiff
path: root/zwgc/xmark.c
diff options
context:
space:
mode:
authorGravatar John F. Carr <jfc@mit.edu>1991-08-27 12:50:32 +0000
committerGravatar John F. Carr <jfc@mit.edu>1991-08-27 12:50:32 +0000
commitddf0243e01951f0f08adcfdabc00cc2027560eeb (patch)
tree1577a75f37450652302d22324cf1b267ba8abba6 /zwgc/xmark.c
parent8878dea2cb4586e81b383b2e5ffe751a00b705cc (diff)
Work around xlc optimizer bug.
Diffstat (limited to 'zwgc/xmark.c')
-rw-r--r--zwgc/xmark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zwgc/xmark.c b/zwgc/xmark.c
index 16142c5..7b32a80 100644
--- a/zwgc/xmark.c
+++ b/zwgc/xmark.c
@@ -173,6 +173,12 @@ void xmarkExpose(dpy,w,gram,b1,p1,b2,p2)
swap(p1,p2);
}
+#if defined(_IBMR2) && !defined(__GNUC__) && defined(RS6000_OPT_BUG)
+ /* A version of the AIX 3.1 RS/6000 C compiler needs this to prevent
+ a core dump in the loop below. */
+ &b1;
+#endif
+
expose.type=Expose;
expose.display=dpy;
expose.window=w;