* gcc-interface/utils.c (pad_type_hash): Use hashval_t for hash value.
commit236b0552f8fada3afce1bee489b7cf7b631e854e
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Oct 2017 09:53:50 +0000 (21 09:53 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Oct 2017 09:53:50 +0000 (21 09:53 +0000)
tree48d7c79808055d5104d804c65080c2e63372599c
parent1148eb54e7602dfce6b03e34658f6c1814148cd5
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253971 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/discr2.ads [moved from gcc/testsuite/gnat.dg/specs/discr_private.ads with 96% similarity]
gcc/testsuite/gnat.dg/specs/discr3.ads [moved from gcc/testsuite/gnat.dg/specs/discr_record_constant.ads with 88% similarity]
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]