These testcases all rely on very specific integer sizes to pass. The
vector tests assume the vectors have exactly four elements and simd-4.c
additionally needs integers of exactly 32 bits and 64 bits. pr27743.c relies
on sign extension of bit 31, so a signed 32-bit integer is required. This
patch uses types from stdint.h to make sure that these requirements are
met, also on targets where int gives you only 16 bits.
Ok for trunk?
:ADDPATCH testsuite:
2007-07-24 Rask Ingemann Lambertsen <rask@sygehus.dk>
* gcc.dg/torture/pr27743.c (bar): Use an integer of exactly 32 bits
where required.
* gcc.c-torture/execute/simd-1.c: Likewise.
* gcc.c-torture/execute/pr23135.c: Likewise.
* gcc.c-torture/execute/simd-4.c (__ev_convert_s64)(main): Likewise.
Use an integer of exactly 64 bits where required.