public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec33f4
)
minor improvement to volatile code
author
ceriel
<none@none>
Fri, 21 Jun 1991 10:31:20 +0000
(10:31 +0000)
committer
ceriel
<none@none>
Fri, 21 Jun 1991 10:31:20 +0000
(10:31 +0000)
lang/cem/cemcom.ansi/eval.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/eval.c
b/lang/cem/cemcom.ansi/eval.c
index
8993fdc
..
08b8f81
100644
(file)
--- a/
lang/cem/cemcom.ansi/eval.c
+++ b/
lang/cem/cemcom.ansi/eval.c
@@
-639,7
+639,7
@@
EVAL(expr, val, code, true_label, false_label)
default:
crash("(EVAL) bad expression class");
}
- if (
expr->ex_flags & EX_VOLATILE || vol
) C_nop();
+ if (
val == RVAL && ((expr->ex_flags & EX_VOLATILE) || vol)
) C_nop();
}
/* compare() serves as an auxiliary function of EVAL */