Fix builtin-arith-overflow-1.c with unsigned char
Eric Botcazou
ebotcazou@adacore.com
Thu Dec 11 22:16:00 GMT 2014
The char's in gcc.dg/builtin-arith-overflow-1.c are almost all explicitly
signed or unsigned, except for 2 of them, but that's enough to make it fail
for targets whose char is unsigned.
Tested on x86-64 and a private port, applied on mainline as obvious.
2014-12-11 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/builtin-arith-overflow-1.c (fn2): Take signed char.
(fn3): Likewise.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 862 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141211/c5e1ba80/attachment.bin>
More information about the Gcc-patches
mailing list