aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-generic-param.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-07-01 11:58:28 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2025-07-01 12:01:08 +0200
commite47fb6bd059da41d2dceb3f75a3a7968600e09fe (patch)
tree0fe50ff2d925bff77ac075bfb4b1fdd088adf84a /gcc/rust/hir/tree/rust-hir-generic-param.h
parentd26b294d1aa94a948f5c23e889c708310cbddb86 (diff)
downloadgcc-e47fb6bd059da41d2dceb3f75a3a7968600e09fe.zip
gcc-e47fb6bd059da41d2dceb3f75a3a7968600e09fe.tar.gz
gcc-e47fb6bd059da41d2dceb3f75a3a7968600e09fe.tar.bz2
testsuite: Fix up pr119318.c test for big-endian [PR120082]
The test is not endianess clean, x[0] is supposed to be ((__int128)0x19)<<32 on little endian - 0x19 is in the second vector elt - but ((__int128)0x19)<<64 on big endian. I've added also verification of int and __int128 sizes just in case we have say 16-bit or 64-bit int target with __int128 type, or pdp endian gets __int128 support. 2025-07-01 Jakub Jelinek <jakub@redhat.com> PR ipa/119318 PR testsuite/120082 * gcc.dg/ipa/pr119318.c (main): Expect different result on big endian from little endian, on unexpected endianness or int/int128 sizes don't test anything. Formatting fixes.
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-generic-param.h')
0 files changed, 0 insertions, 0 deletions