* gcc-interface/utils.c (convert): For a biased input type, convert
commit8fc5136904189c0d7b06501abc242252fcf00e0b
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2016 08:47:52 +0000 (10 08:47 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2016 08:47:52 +0000 (10 08:47 +0000)
treecd931049bd8d161a77d9a6701765ae10189b47a7
parent2bc93599322e4aa7e2adfcd8a97ba6c9774b8488
* gcc-interface/utils.c (convert): For a biased input type, convert
the bias itself to the base type before adding it.

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