utils.c (max_size): Add special code to deal with the subtraction of a "negative...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 28 May 2015 15:45:08 +0000 (15:45 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 28 May 2015 15:45:08 +0000 (15:45 +0000)
commit396e67d21a3194da9d036bdb67e74edfd1030d3f
treee352ee1b9a722c241fbc82e1122572bc6e8956cd
parentafd6f7023570710172c76f5afc870d7ebd32678e
utils.c (max_size): Add special code to deal with the subtraction of a "negative" value in an...

* gcc-interface/utils.c (max_size) <tcc_binary>: Add special code to
deal with the subtraction of a "negative" value in an unsigned type.

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