Makefile.in (hwint.o): Depend on DIAGNOSTIC_CORE_H.
authorSebastian Pop <sebastian.pop@amd.com>
Mon, 1 Aug 2011 21:53:07 +0000 (21:53 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 1 Aug 2011 21:53:07 +0000 (21:53 +0000)
commit3c67fd9c30f45017fb3b490162fce106d37b7cbe
treeb283fc957cb0e873ede675b16d01fe03cbf1bd48
parent4bbff96e369cf96ee1c6bd3fd9f7728c08e05da8
Makefile.in (hwint.o): Depend on DIAGNOSTIC_CORE_H.

2011-08-01  Sebastian Pop  <sebastian.pop@amd.com>
    Joseph Myers  <joseph@codesourcery.com>

* Makefile.in (hwint.o): Depend on DIAGNOSTIC_CORE_H.
* hwint.c: Include diagnostic-core.h.
(abs_hwi): New.
(gcd): Moved here...
(pos_mul_hwi): New.
(mul_hwi): New.
(least_common_multiple): Moved here...
* hwint.h (gcd): ... from here.
(least_common_multiple): ... from here.
(HOST_WIDE_INT_MIN): New.
(HOST_WIDE_INT_MAX): New.
(abs_hwi): Declared.
(gcd): Declared.
(pos_mul_hwi): Declared.
(mul_hwi): Declared.
(least_common_multiple): Declared.
* omega.c (check_pos_mul): Removed.
(check_mul): Removed.
(omega_solve_geq): Use pos_mul_hwi instead of check_pos_mul and
mul_hwi instead of check_mul.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r177075
gcc/ChangeLog
gcc/Makefile.in
gcc/hwint.c
gcc/hwint.h
gcc/omega.c