utils.c (pad_type_hash): Use hashval_t for hash value.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 21 Oct 2017 09:53:50 +0000 (09:53 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 21 Oct 2017 09:53:50 +0000 (09:53 +0000)
commitf330b1eca90d9a6485765f7b75733672351c89a8
tree48d7c79808055d5104d804c65080c2e63372599c
parentde624beeae1b049b6bd834b28980e6ce9891d45d
utils.c (pad_type_hash): Use hashval_t for hash value.

* gcc-interface/utils.c (pad_type_hash): Use hashval_t for hash value.
(convert): Do not use an unchecked conversion for converting from a
type to another type padding it.

From-SVN: r253971
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/discr2.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/discr3.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/discr4.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/discr4_pkg.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/discr_private.ads [deleted file]
gcc/testsuite/gnat.dg/specs/discr_record_constant.ads [deleted file]