]> git.ipfire.org Git - thirdparty/gcc.git/commit
utils.c (unchecked_convert): When the result type is a non-biased integral type with...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 5 Sep 2017 09:16:52 +0000 (09:16 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 5 Sep 2017 09:16:52 +0000 (09:16 +0000)
commitfa0705724a2eb71f1bfc1a77121bcacd0108f137
tree4bbf8bf3bbe41e0a3097160e79c9be2ea1672111
parentf5ad6819790b5f00859892039b247526268f243a
utils.c (unchecked_convert): When the result type is a non-biased integral type with size 0...

* 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.

From-SVN: r251703
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/uc2.ads [new file with mode: 0644]