tree.h (tree_to_shwi): Add attribute nonnull and pure.
authorMartin Sebor <msebor@redhat.com>
Thu, 27 Sep 2018 22:55:23 +0000 (22:55 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Thu, 27 Sep 2018 22:55:23 +0000 (16:55 -0600)
commit73ca9fb5dfa98119d9eb02f58f2ac26982ade042
treebb3d5a5e5baeefa65c7dc2dd41ab398dee386ab7
parentf20ac63787f7f4801c7190b4b74062d2bd481872
tree.h (tree_to_shwi): Add attribute nonnull and pure.

gcc/ChangeLog:

* tree.h (tree_to_shwi): Add attribute nonnull and pure.
(tree_to_poly_int64, tree_to_uhwi, tree_to_poly_uint64): Same.
(int_fits_type_p): Same.

gcc/ada/ChangeLog:

* gcc-interface/utils.c (make_packable_type): Introduce a temporary
to avoid -Wnonnull.
(unchecked_convert): Same.

From-SVN: r264680
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/tree.h