summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/numeric.c b/numeric.c
index a937868ce4..f6f1d3b22b 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2042,6 +2042,10 @@ fix_mul(x, y)
VALUE x, y;
{
if (FIXNUM_P(y)) {
+#ifdef __HP_cc
+ /* avoids an optimization bug of HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005] */
+ volatile
+#endif
long a, b, c;
VALUE r;