This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Fix test pr32912-2.c for 16-bit targets


On 12/18/13 03:09, Nick Clifton wrote:
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.
OK.
Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]