utils.c (convert): For a biased input type, convert the bias itself to the base type...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 10 Oct 2016 08:47:52 +0000 (08:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 10 Oct 2016 08:47:52 +0000 (08:47 +0000)
commit55cfd746c7d6e262d01a3cb8d5f32ebc8dceffbc
treecd931049bd8d161a77d9a6701765ae10189b47a7
parentf47ef399b62fdab4fdddc308885f3da986825c21
utils.c (convert): For a biased input type, convert the bias itself to the base type before adding it.

* gcc-interface/utils.c (convert): For a biased input type, convert
the bias itself to the base type before adding it.

From-SVN: r240910
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/biased_subtype.adb [new file with mode: 0644]