Hi Guys,
The test gcc/testsuite/gcc.dg/pr32912-2.c fails to execute correctly
on targets that use 16-bit integers, because it assumes at least a
32-bit integer. The patch below removes this assumption, and it also
tidies up the code slightly so that __SIZEOF_INT__ is only tested in
one place, not three.
There were no regressions when tested with a i686-pc-linux-gnu or a
x86_64-pc-linux-gnu toolchain, and the test was fixed for a rl78-elf
toolchain.
OK to apply ?
Cheers
Nick
gcc/testsuite/ChangeLog
2013-12-18 Nick Clifton <nickc@redhat.com>
* gcc.dg/pr32912-2.c: Fix for 16-bit targets.