[PATCH] TESTSUITE: Fix tests for 16-bit targets
Joseph Myers
joseph@codesourcery.com
Fri May 15 22:48:56 GMT 2020
On Fri, 15 May 2020, Jozef Lawrynowicz wrote:
> The attached patch fixes many GCC and G++ tests for 16-bit targets. These
> targets can have the following properties:
> - "int", "size_t", "ptrdiff_t", "void *" are 16-bit types
> - sizeof(int) == sizeof(short)
Some of the tests are disabled by the patch for the case where pointers
are the same size as int. Were those tests all previously failing for
32-bit targets where that's the case? If not, ptr_eq_int seems an
inappropriate condition for disabling them.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list