]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: testsuite: Fix missing handling of little endian.
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 18 Jan 2024 16:24:01 +0000 (17:24 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Fri, 21 Mar 2025 11:56:56 +0000 (12:56 +0100)
commitffecc9a97247b73de657a1fc0c81cf824bfd72c6
tree126aecf5824357f8f856f3295d4333d7f78ca0d9
parent469d668f6fac45dcd72182d1075285c761acac94
gccrs: testsuite: Fix missing handling of little endian.

Some failures occur in the testsuite because we
did not account for the little-endian case.

gcc/testsuite/ChangeLog:

* rust/compile/issue-1446.rs: Add swap_bytes function.
* rust/compile/iterators1.rs: Remove unused {to, from}_le functions.
gcc/testsuite/rust/compile/issue-1446.rs
gcc/testsuite/rust/compile/iterators1.rs