GCC Newspaper
JULY 29, 2026
Date
/
Architectures
Components
Topics
News & Policy
testsuite, aarch64

AArch64 test suite requires big-endian support.

AArch64 test suite now correctly gates tests requiring big-endian support.

Several AArch64 test cases inherently require big-endian code generation capabilities, irrespective of the host system’s endianness. This change introduces a target support check for -mbig-endian. Tests that need this functionality are now gated by this check, ensuring they only run when big-endian support is available.

In Details

This commit modifies the GCC testsuite for AArch64 to accurately reflect test dependencies on the -mbig-endian code generation option. A new target-specific check, aarch64_mbig_endian, is introduced and used to gate various tests, preventing them from running on configurations that do not support big-endian output, even if the host system is little-endian.

For Context
AArch64
The 64-bit ARM architecture, widely used in mobile devices and increasingly in servers and desktops.
big-endian
A byte order where the most significant byte is stored at the lowest memory address. This is in contrast to little-endian, where the least significant byte is stored at the lowest address.
host system
The computer system on which a program is being compiled or executed.
code generation
The process of translating an intermediate representation of a program into machine code or assembly code for a specific target architecture.
test suite
A collection of test cases designed to be used to verify and validate that a particular software build or component meets its expected requirements.
Filed Under: testsuiteaarch64big-endian