tree.c (next_type_uid): Change type to unsigned.
authorJakub Jelinek <jakub@redhat.com>
Fri, 5 May 2017 07:35:13 +0000 (09:35 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 5 May 2017 07:35:13 +0000 (09:35 +0200)
commit56871768b4cf5c2fd82456e03ae2f83a9789d2fb
tree3931dd8a559a4ebe52383d293c6f640d81e3894d
parent18c182ff7d54b3ca7bbaeb0a79dbd863a234b470
tree.c (next_type_uid): Change type to unsigned.

* tree.c (next_type_uid): Change type to unsigned.
(type_hash_canon): Decrement back next_type_uid if
freeing a type node with the highest TYPE_UID.  For INTEGER_TYPEs
also ggc_free TYPE_MIN_VALUE, TYPE_MAX_VALUE and TYPE_CACHED_VALUES
if possible.

From-SVN: r247628
gcc/ChangeLog
gcc/tree.c