OSDN Git Service

* double-int.c (mpz_set_double_int): Moved from
authorbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Apr 2007 19:14:04 +0000 (19:14 +0000)
committerbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Apr 2007 19:14:04 +0000 (19:14 +0000)
commit612a17fc003aefd310cd106ca3bab69b7f855956
tree6479ca4b9aae9944979b25e103b6a70c19c8e7fe
parent2751c7d48f654df48925752bdbe179096104ca91
* double-int.c (mpz_set_double_int): Moved from
tree-ssa-loop-niter.c.
(mpz_get_double_int): Likewise; also, add option to wrap
out-of-range integers.
* double-int.h: New prototypes for above.
* tree.c (get_static_type_bounds): Moved from
tree-ssa-loop-niter.c; now returns TYPE_MIN_VALUE and
TYPE_MAX_VALUE if they exist..
* tree.h: New prototype for above.
* tree-ssa-loop-niter.c: Adjust mpz_to_double_int and
get_type_bounds calls.
(mpz_set_double_int): Move to double-int.c.
(get_type_bounds): Move to tree.c, rename to
get_static_type_bounds.
(mpz_to_double_int): Move to double-int.c, rename to
mpz_get_double_int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124304 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/double-int.c
gcc/double-int.h
gcc/tree-ssa-loop-niter.c
gcc/tree.c
gcc/tree.h