From d1cb3194bb20a44eecafe4186cf4e368f2a4d5b8 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 30 Apr 2016 04:57:33 -0700 Subject: build libgcc with older version of compiler and add install script --- gcc/loop.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/loop.c') diff --git a/gcc/loop.c b/gcc/loop.c index 17bf814..10ba3ed 100755 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -7634,8 +7634,12 @@ check_dbra_loop (loop_end, insn_count, loop_start, loop_info) } } } +#ifndef OLD_COMPILER else if (GET_CODE (bl->biv->add_val) == CONST_INT && INTVAL (bl->biv->add_val) > 0) +#else + else if (INTVAL (bl->biv->add_val) > 0) +#endif { /* Try to change inc to dec, so can apply above optimization. */ /* Can do this if: -- cgit v1.2.3