* gcc-interface/utils.c (unchecked_convert): When the result type is a
commitb141a84244ce153526227ce0467ab1b1039db453
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 09:12:07 +0000 (5 09:12 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 09:12:07 +0000 (5 09:12 +0000)
tree4da34380a93f050079a4205f3a11b72d696fe88a
parent404455fef970eea7f65545ed7ed87501ef925718
* gcc-interface/utils.c (unchecked_convert): When the result type is a
non-biased integral type with size 0, set the result to 0 directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251701 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/uc2.ads [new file with mode: 0644]