From f8e87ab13d54060a94f01e4e12bb9f97d7be512c Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 1 Sep 2006 18:47:11 +0000 Subject: * common.mk, configure.in, defines.h, eval.c, gc.c, main.c, numeric.c, ruby.h, ia64.s: backport IA64 HP-UX support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index a937868ce..f6f1d3b22 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; -- cgit